Fixed the accessibility of WC_Cart::is_tax_displayed()
Since we're calling the function from the base class we need it to be protected or this throws a fatal exception.
This commit is contained in:
parent
730df27bc6
commit
c2bf58a739
|
@ -1935,7 +1935,7 @@ class WC_Cart extends WC_Legacy_Cart {
|
|||
*
|
||||
* @return string
|
||||
*/
|
||||
private function is_tax_displayed() {
|
||||
public function is_tax_displayed() {
|
||||
if ( $this->get_customer() && $this->get_customer()->get_is_vat_exempt() ) {
|
||||
return 'excl';
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue