WC_Product::is_taxable()
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 Product::is taxable WC 9.7.1
public function is_taxable() { return apply_filters( 'woocommerce_product_is_taxable', $this->get_tax_status() === 'taxable' && wc_tax_enabled(), $this ); }