Automattic\WooCommerce\Admin\Marketing

MarketingCampaign::get_salespublicWC 1.0

Returns the sales of the marketing campaign with the currency.

Method of the class: MarketingCampaign{}

No Hooks.

Returns

Price|null.

Usage

$MarketingCampaign = new MarketingCampaign();
$MarketingCampaign->get_sales(): ?Price;

MarketingCampaign::get_sales() code WC 10.4.3

public function get_sales(): ?Price {
	return $this->sales;
}