WordPress at Your Fingertips
function is not described

WC_Order_Item_Fee::set_total_tax() public WC 1.0

Set total tax.

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

No Hooks.

Return

null. Nothing.

Usage

$WC_Order_Item_Fee = new WC_Order_Item_Fee();
$WC_Order_Item_Fee->set_total_tax( $amount );
$amount(string) (required)
Amount.

Code of WC_Order_Item_Fee::set_total_tax() WC 6.1.1

public function set_total_tax( $amount ) {
	$this->set_prop( 'total_tax', wc_format_decimal( $amount ) );
}