Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

WC_Cart::is_tax_displayed()

Returns ‘incl’ if tax should be included in cart, otherwise returns ‘excl’.


Description Description


Return Return

(string)


Top ↑

Source Source

File: includes/class-wc-cart.php

	private function is_tax_displayed() {
		if ( $this->get_customer() && $this->get_customer()->get_is_vat_exempt() ) {
			return 'excl';
		}

		return get_option( 'woocommerce_tax_display_cart' );
	}

Top ↑

User Contributed Notes User Contributed Notes

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