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 8.7.0

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