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)


Top ↑

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

Top ↑

Changelog Changelog

Changelog
Version Description
3.3.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.