WordPress at Your Fingertips
function is not described

WC_Order_Item_Tax::set_compound() public WC 1.0

Set compound.

{} 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_compound( $value );
$value(true|false) (required)
If tax is compound.

Code of WC_Order_Item_Tax::set_compound() WC 5.7.1

public function set_compound( $value ) {
	$this->set_prop( 'compound', (bool) $value );
}