wc_prices_include_tax()
Are prices inclusive of tax?
Хуки из функции
Возвращает
true|false
.
Использование
wc_prices_include_tax();
Код wc_prices_include_tax() wc prices include tax WC 8.7.0
function wc_prices_include_tax() { return wc_tax_enabled() && apply_filters( 'woocommerce_prices_include_tax', get_option( 'woocommerce_prices_include_tax' ) === 'yes' ); }