WC_Countries::tax_or_vat()
Correctly name tax in some countries VAT on the frontend.
Description Description
Return Return
(string)
Source Source
File: includes/class-wc-countries.php
public function tax_or_vat() { $return = in_array( $this->get_base_country(), $this->get_vat_countries(), true ) ? __( 'VAT', 'woocommerce' ) : __( 'Tax', 'woocommerce' ); return apply_filters( 'woocommerce_countries_tax_or_vat', $return ); }