Automattic\WooCommerce\Admin\Marketing

MarketingCampaign::get_id()publicWC 1.0

Returns the marketing campaign's unique identifier.

Method of the class: MarketingCampaign{}

No Hooks.

Return

String.

Usage

$MarketingCampaign = new MarketingCampaign();
$MarketingCampaign->get_id(): string;

MarketingCampaign::get_id() code WC 9.0.1

public function get_id(): string {
	return $this->id;
}