Automattic\WooCommerce\Admin\Marketing
MarketingCampaignType::get_channel
Returns the marketing channel that this campaign type belongs to.
Method of the class: MarketingCampaignType{}
No Hooks.
Returns
MarketingChannelInterface.
Usage
$MarketingCampaignType = new MarketingCampaignType(); $MarketingCampaignType->get_channel(): MarketingChannelInterface;
MarketingCampaignType::get_channel() MarketingCampaignType::get channel code WC 10.6.2
public function get_channel(): MarketingChannelInterface {
return $this->channel;
}