WC_Order_Item_Tax::get_tax_total()
Get tax_total
Method of the class: WC_Order_Item_Tax{}
No Hooks.
Return
String
.
Usage
$WC_Order_Item_Tax = new WC_Order_Item_Tax(); $WC_Order_Item_Tax->get_tax_total( $context );
- $context(string)
- What the value is for. Valid values are 'view' and 'edit'.
Default: 'view'
WC_Order_Item_Tax::get_tax_total() WC Order Item Tax::get tax total code WC 9.7.1
public function get_tax_total( $context = 'view' ) { return $this->get_prop( 'tax_total', $context ); }