WC_Order_Item_Shipping::get_total_tax │ public │ WC 1.0

Get total tax.

Метод класса: WC_Order_Item_Shipping{}

Хуков нет.

Возвращает

string.

Использование

$WC_Order_Item_Shipping = new WC_Order_Item_Shipping();
$WC_Order_Item_Shipping->get_total_tax( $context );
$context(строка)
View or edit context.
По умолчанию: 'view'

Код WC_Order_Item_Shipping::get_total_tax() WC 11.3.0

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