Automattic\WooCommerce\Admin\Marketing
MarketingCampaignType::get_channel()
Returns the marketing channel that this campaign type belongs to.
Метод класса: MarketingCampaignType{}
Хуков нет.
Возвращает
MarketingChannelInterface
.
Использование
$MarketingCampaignType = new MarketingCampaignType(); $MarketingCampaignType->get_channel(): MarketingChannelInterface;
Код MarketingCampaignType::get_channel() MarketingCampaignType::get channel WC 9.3.3
public function get_channel(): MarketingChannelInterface { return $this->channel; }