WC_Cart::set_fee_taxes()
Set taxes.
Method of the class: WC_Cart{}
No Hooks.
Return
null
. Nothing (null).
Usage
$WC_Cart = new WC_Cart(); $WC_Cart->set_fee_taxes( $value );
- $value(array) (required)
- Tax values.
Changelog
Since 3.2.0 | Introduced. |
WC_Cart::set_fee_taxes() WC Cart::set fee taxes code WC 9.6.1
public function set_fee_taxes( $value ) { $this->totals['fee_taxes'] = (array) $value; }