WC_Shipping_Method::is_taxablepublicWC 1.0

Whether or not we need to calculate tax on top of the shipping rate.

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

Хуков нет.

Возвращает

true|false.

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

$WC_Shipping_Method = new WC_Shipping_Method();
$WC_Shipping_Method->is_taxable();

Код WC_Shipping_Method::is_taxable() WC 9.9.5

public function is_taxable() {
	return wc_tax_enabled() && ProductTaxStatus::TAXABLE === $this->tax_status && ( WC()->customer && ! WC()->customer->get_is_vat_exempt() );
}