Automattic\WooCommerce\Admin\Marketing
MarketingCampaign::get_cost()
Returns the cost of the marketing campaign with the currency.
Method of the class: MarketingCampaign{}
No Hooks.
Return
Price|null
.
Usage
$MarketingCampaign = new MarketingCampaign(); $MarketingCampaign->get_cost(): ?Price;
MarketingCampaign::get_cost() MarketingCampaign::get cost code WC 9.7.1
public function get_cost(): ?Price { return $this->cost; }