Automattic\WooCommerce\Admin\Marketing

MarketingChannelInterface::get_supported_campaign_types()publicWC 1.0

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

Метод класса: MarketingChannelInterface{}

Хуков нет.

Возвращает

MarketingCampaignType[]. Array of marketing campaign type objects.

Использование

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

Код MarketingChannelInterface::get_supported_campaign_types() WC 8.9.3

public function get_supported_campaign_types(): array;