Automattic\WooCommerce\Admin\Marketing

MarketingCampaignType::get_channel()publicWC 1.0

Returns the marketing channel that this campaign type belongs to.

Method of the class: MarketingCampaignType{}

No Hooks.

Return

MarketingChannelInterface.

Usage

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

MarketingCampaignType::get_channel() code WC 9.0.1

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