WC_Product::is_taxable()publicWC 1.0

Returns whether or not the product is taxable.

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

Хуки из метода

Возвращает

true|false.

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

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

Код WC_Product::is_taxable() WC 8.7.0

public function is_taxable() {
	return apply_filters( 'woocommerce_product_is_taxable', $this->get_tax_status() === 'taxable' && wc_tax_enabled(), $this );
}