WC_Tax::format_tax_rate_country()
Format the country.
Метод класса: WC_Tax{}
Хуков нет.
Возвращает
Строку
.
Использование
$result = WC_Tax::format_tax_rate_country( $country );
- $country(строка) (обязательный)
- Value to format.
Код WC_Tax::format_tax_rate_country() WC Tax::format tax rate country WC 9.8.1
private static function format_tax_rate_country( $country ) { $country = strtoupper( $country ); return ( '*' === $country ) ? '' : $country; }