WordPress at Your Fingertips
function is not described

WC_Order_Item_Tax::set_tax_total() public WC 1.0

Set tax total.

{} It's a method of the class: WC_Order_Item_Tax{}

No Hooks.

Return

null. Nothing.

Usage

$WC_Order_Item_Tax = new WC_Order_Item_Tax();
$WC_Order_Item_Tax->set_tax_total( $value );
$value(string) (required)
Tax total.

Code of WC_Order_Item_Tax::set_tax_total() WC 5.6.0

public function set_tax_total( $value ) {
	$this->set_prop( 'tax_total', $value ? wc_format_decimal( $value ) : 0 );
}