WC_Countries::ex_tax_or_vat
Include the Ex Tax label.
Method of the class: WC_Countries{}
Hooks from the method
Returns
String.
Usage
$WC_Countries = new WC_Countries(); $WC_Countries->ex_tax_or_vat();
WC_Countries::ex_tax_or_vat() WC Countries::ex tax or vat code WC 10.6.2
public function ex_tax_or_vat() {
$return = in_array( $this->get_base_country(), $this->get_vat_countries(), true ) ? __( '(ex. VAT)', 'woocommerce' ) : __( '(ex. tax)', 'woocommerce' );
return apply_filters( 'woocommerce_countries_ex_tax_or_vat', $return );
}