woocommerce_countries_estimated_for_prefix, $return, $country_code
woocommerce_countries_estimated_for_prefix, $return, $country_code
Appears in: woocommerce.11.0.0
Hook Type: filter
Displaying hooks found in version: woocommerce.11.0.0apply_filters('woocommerce_countries_estimated_for_prefix, $return, $country_code') is found 1 times:
- /includes/class-wc-countries.php line 510
$country_code = $country_code ? $country_code : $this->get_base_country(); $countries = array( 'AE', 'CZ', 'DO', 'GB', 'NL', 'PH', 'US', 'USAF' ); $return = in_array( $country_code, $countries, true ) ? __( 'the', 'woocommerce' ) . ' ' : ''; return apply_filters( 'woocommerce_countries_estimated_for_prefix', $return, $country_code ); } /** * Correctly name tax in some countries VAT on the frontend. * * @return string