WC_Tax::format_tax_rate_country
Format the country.
Method of the class: WC_Tax{}
No Hooks.
Returns
String.
Usage
$result = WC_Tax::format_tax_rate_country( $country );
- $country(string) (required)
- Value to format.
WC_Tax::format_tax_rate_country() WC Tax::format tax rate country code WC 10.3.6
private static function format_tax_rate_country( $country ) {
$country = strtoupper( $country );
return ( '*' === $country ) ? '' : $country;
}