Automattic\WooCommerce\Admin\Marketing

MarketingCampaignType::get_channel()publicWC 1.0

Returns the marketing channel that this campaign type belongs to.

Метод класса: MarketingCampaignType{}

Хуков нет.

Возвращает

MarketingChannelInterface.

Использование

$MarketingCampaignType = new MarketingCampaignType();
$MarketingCampaignType->get_channel(): MarketingChannelInterface;

Код MarketingCampaignType::get_channel() WC 9.3.3

public function get_channel(): MarketingChannelInterface {
	return $this->channel;
}