WC_Tax::format_tax_rate_country()private staticWC 1.0

Format the country.

Method of the class: WC_Tax{}

No Hooks.

Return

String.

Usage

$result = WC_Tax::format_tax_rate_country( $country );
$country(string) (required)
Value to format.

WC_Tax::format_tax_rate_country() code WC 9.4.2

private static function format_tax_rate_country( $country ) {
	$country = strtoupper( $country );
	return ( '*' === $country ) ? '' : $country;
}