Automattic\WooCommerce\Admin\Marketing

MarketingCampaignType::get_channelpublicWC 1.0

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() code WC 10.6.2

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