Automattic\WooCommerce\Admin\Marketing
MarketingChannelInterface::get_supported_campaign_types()
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() MarketingChannelInterface::get supported campaign types code WC 9.8.2
public function get_supported_campaign_types(): array;