WC_Countries::inc_tax_or_vat()publicWC 1.0

Include the Inc Tax label.

Method of the class: WC_Countries{}

Hooks from the method

Return

String.

Usage

$WC_Countries = new WC_Countries();
$WC_Countries->inc_tax_or_vat();

WC_Countries::inc_tax_or_vat() code WC 9.4.2

public function inc_tax_or_vat() {
	$return = in_array( $this->get_base_country(), $this->get_vat_countries(), true ) ? __( '(incl. VAT)', 'woocommerce' ) : __( '(incl. tax)', 'woocommerce' );

	return apply_filters( 'woocommerce_countries_inc_tax_or_vat', $return );
}