WC_Cart::set_coupon_discount_tax_totals()
Sets the array of calculated coupon tax totals.
{} It's a method of the class: WC_Cart{}
No Hooks.
Return
null
. Nothing.
Usage
$WC_Cart = new WC_Cart(); $WC_Cart->set_coupon_discount_tax_totals( $value );
- $value(array)
- Value to set.
Default: array()
Changelog
Since 3.2.0 | Introduced. |
Code of WC_Cart::set_coupon_discount_tax_totals() WC Cart::set coupon discount tax totals WC 6.7.0
public function set_coupon_discount_tax_totals( $value = array() ) { $this->coupon_discount_tax_totals = (array) $value; }