WC_Order_Item_Fee::set_total_tax
Set total tax.
Method of the class: WC_Order_Item_Fee{}
No Hooks.
Returns
null. Nothing (null).
Usage
$WC_Order_Item_Fee = new WC_Order_Item_Fee(); $WC_Order_Item_Fee->set_total_tax( $amount );
- $amount(string) (required)
- Amount.
WC_Order_Item_Fee::set_total_tax() WC Order Item Fee::set total tax code WC 10.8.1
public function set_total_tax( $amount ) {
$this->set_prop( 'total_tax', wc_format_decimal( $amount ) );
}