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