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 8.7.0

public function get_supported_campaign_types(): array;