WC_Order_Item_Fee::set_tax_status( string $value )

Set tax_status.


Description Description


Parameters Parameters

$value

(Required) Tax status.


Top ↑

Source Source

File: includes/class-wc-order-item-fee.php

	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' );
		}
	}

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.