Automattic\WooCommerce\Admin\Marketing

MarketingChannelInterface::get_campaigns()publicWC 1.0

Returns an array of the channel's marketing campaigns.

Method of the class: MarketingChannelInterface{}

No Hooks.

Return

MarketingCampaign[].

Usage

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

MarketingChannelInterface::get_campaigns() code WC 9.1.2

public function get_campaigns(): array;