WC_Cart::display_prices_including_tax() public WC 3.3.0
Return whether or not the cart is displaying prices including tax, rather than excluding tax.
{} Это метод класса: WC_Cart{}
Хуки из метода
Возвращает
true/false.
Использование
$WC_Cart = new WC_Cart(); $WC_Cart->display_prices_including_tax();
Список изменений
С версии 3.3.0 | Введена. |
Код WC_Cart::display_prices_including_tax() WC Cart::display prices including tax WC 5.0.0
public function display_prices_including_tax() {
return apply_filters( 'woocommerce_cart_' . __FUNCTION__, 'incl' === $this->get_tax_price_display_mode() );
}