WordPress at Your Fingertips
function is not described

WC_Order_Item_Fee::set_tax_status() public WC 1.0

Set tax_status.

{} 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_tax_status( $value );
$value(string) (required)
Tax status.

Code of WC_Order_Item_Fee::set_tax_status() WC 5.9.0

public function set_tax_status( $value ) {
	if ( in_array( $value, array( 'taxable', 'none' ), true ) ) {
		$this->set_prop( 'tax_status', $value );
	} else {
		$this->set_prop( 'tax_status', 'taxable' );
	}
}