WC_Tax::format_tax_rate_state()
Format the state.
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.
WC_Tax::format_tax_rate_state() WC Tax::format tax rate state code WC 9.3.3
private static function format_tax_rate_state( $state ) { $state = strtoupper( $state ); return ( '*' === $state ) ? '' : $state; }