WordPress at Your Fingertips
function is not described

WC_Tax::format_tax_rate_state() private WC 1.0

Format the state.

{} It's a method of the class: WC_Tax{}

No Hooks.

Return

String.

Usage

$result = WC_Tax::format_tax_rate_state( $state );
$state(string) (required)
Value to format.

Code of WC_Tax::format_tax_rate_state() WC 5.9.0

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