WordPress at Your Fingertips
function is not described

WC_Abstract_Order::get_total_tax() public WC 1.0

Get total tax amount. Alias for get_order_tax().

{} It's a method of the class: WC_Abstract_Order{}

No Hooks.

Return

float.

Usage

$WC_Abstract_Order = new WC_Abstract_Order();
$WC_Abstract_Order->get_total_tax( $context );
$context(string)
View or edit context.
Default: 'view'

Code of WC_Abstract_Order::get_total_tax() WC 5.8.0

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