WC_Tax::format_tax_rate_city()private staticWC 1.0

Format the city.

Method of the class: WC_Tax{}

No Hooks.

Return

String.

Usage

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

WC_Tax::format_tax_rate_city() code WC 8.7.0

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