WC_Cart::set_fee_tax()
Set fee tax.
Method of the class: WC_Cart{}
No Hooks.
Return
null
. Nothing (null).
Usage
$WC_Cart = new WC_Cart(); $WC_Cart->set_fee_tax( $value );
- $value(string) (required)
- Value to set.
Changelog
Since 3.2.0 | Introduced. |
WC_Cart::set_fee_tax() WC Cart::set fee tax code WC 8.6.1
public function set_fee_tax( $value ) { $this->totals['fee_tax'] = $value; }