Merge pull request #2819 from kexplo/master
Add South Korean Won ( KRW, ₩ ) currency
This commit is contained in:
commit
ac097b3704
|
@ -685,6 +685,7 @@ function get_woocommerce_currencies() {
|
||||||
'INR' => __( 'Indian Rupee', 'woocommerce' ),
|
'INR' => __( 'Indian Rupee', 'woocommerce' ),
|
||||||
'ILS' => __( 'Israeli Shekel', 'woocommerce' ),
|
'ILS' => __( 'Israeli Shekel', 'woocommerce' ),
|
||||||
'JPY' => __( 'Japanese Yen', 'woocommerce' ),
|
'JPY' => __( 'Japanese Yen', 'woocommerce' ),
|
||||||
|
'KRW' => __( 'South Korean Won', 'woocommerce' ),
|
||||||
'MYR' => __( 'Malaysian Ringgits', 'woocommerce' ),
|
'MYR' => __( 'Malaysian Ringgits', 'woocommerce' ),
|
||||||
'MXN' => __( 'Mexican Peso', 'woocommerce' ),
|
'MXN' => __( 'Mexican Peso', 'woocommerce' ),
|
||||||
'NOK' => __( 'Norwegian Krone', 'woocommerce' ),
|
'NOK' => __( 'Norwegian Krone', 'woocommerce' ),
|
||||||
|
@ -738,6 +739,7 @@ function get_woocommerce_currency_symbol( $currency = '' ) {
|
||||||
case 'JPY' :
|
case 'JPY' :
|
||||||
$currency_symbol = '¥';
|
$currency_symbol = '¥';
|
||||||
break;
|
break;
|
||||||
|
case 'KRW' : $currency_symbol = '₩'; break;
|
||||||
case 'TRY' : $currency_symbol = 'TL'; break;
|
case 'TRY' : $currency_symbol = 'TL'; break;
|
||||||
case 'NOK' : $currency_symbol = 'kr'; break;
|
case 'NOK' : $currency_symbol = 'kr'; break;
|
||||||
case 'ZAR' : $currency_symbol = 'R'; break;
|
case 'ZAR' : $currency_symbol = 'R'; break;
|
||||||
|
|
Loading…
Reference in New Issue