WC_Cart::display_prices_including_tax()
Return whether or not the cart is displaying prices including tax, rather than excluding tax.
Description Description
Return Return
(bool)
Source Source
File: includes/class-wc-cart.php
public function display_prices_including_tax() { $customer_exempt = $this->get_customer() && $this->get_customer()->get_is_vat_exempt(); return apply_filters( 'woocommerce_cart_' . __FUNCTION__, 'incl' === $this->tax_display_cart && ! $customer_exempt ); }
Changelog Changelog
Version | Description |
---|---|
3.3.0 | Introduced. |