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:
Christopher Allford 2020-07-09 11:39:09 -07:00
parent 730df27bc6
commit c2bf58a739
1 changed files with 1 additions and 1 deletions

View File

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