WC_Tax::format_tax_rate_city │ private static │ WC 1.0

Format the city.

Method of the class: WC_Tax{}

No Hooks.

Returns

string.

Usage

$result = WC_Tax::format_tax_rate_city( $city );
$city(string) (required)
Value to format.

WC_Tax::format_tax_rate_city() code WC 11.2.2

private static function format_tax_rate_city( $city ) {
	return strtoupper( trim( $city ) );
}