Automattic\WooCommerce\Admin\Marketing

MarketingCampaign::get_type()publicWC 1.0

Returns the marketing campaign type.

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

Хуков нет.

Возвращает

MarketingCampaignType.

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

$MarketingCampaign = new MarketingCampaign();
$MarketingCampaign->get_type(): MarketingCampaignType;

Код MarketingCampaign::get_type() WC 9.0.2

public function get_type(): MarketingCampaignType {
	return $this->type;
}