WC_Order_Item_Tax::get_compound()
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() WC Order Item Tax::get compound code WC 7.5.1
public function get_compound( $context = 'view' ) { return $this->get_prop( 'compound', $context ); }