WC_Order_Item_Tax::get_compound()publicWC 1.0

Get compound.

Method of the class: WC_Order_Item_Tax{}

No Hooks.

Return

true|false.

Usage

$WC_Order_Item_Tax = new WC_Order_Item_Tax();
$WC_Order_Item_Tax->get_compound( $context );
$context(string)
What the value is for. Valid values are 'view' and 'edit'.
Default: 'view'

WC_Order_Item_Tax::get_compound() code WC 8.7.0

public function get_compound( $context = 'view' ) {
	return $this->get_prop( 'compound', $context );
}