wc_prices_include_tax()WC 1.0

Are prices inclusive of tax?

Хуки из функции

Возвращает

true|false.

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

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' );
}