WC_Cart::set_fee_taxes
Set taxes.
Method of the class: WC_Cart{}
No Hooks.
Returns
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 10.7.0
public function set_fee_taxes( $value ) {
$this->totals['fee_taxes'] = (array) $value;
}