Automattic\WooCommerce\Admin\Marketing

MarketingChannelInterface::get_supported_campaign_types()publicWC 1.0

Returns an array of marketing campaign types that the channel supports.

Method of the class: MarketingChannelInterface{}

No Hooks.

Return

MarketingCampaignType[]. Array of marketing campaign type objects.

Usage

$MarketingChannelInterface = new MarketingChannelInterface();
$MarketingChannelInterface->get_supported_campaign_types(): array;

MarketingChannelInterface::get_supported_campaign_types() code WC 9.0.1

public function get_supported_campaign_types(): array;