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