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' ),
|
||||
'ILS' => __( 'Israeli Shekel', 'woocommerce' ),
|
||||
'JPY' => __( 'Japanese Yen', 'woocommerce' ),
|
||||
'KRW' => __( 'South Korean Won', 'woocommerce' ),
|
||||
'MYR' => __( 'Malaysian Ringgits', 'woocommerce' ),
|
||||
'MXN' => __( 'Mexican Peso', 'woocommerce' ),
|
||||
'NOK' => __( 'Norwegian Krone', 'woocommerce' ),
|
||||
|
@ -738,6 +739,7 @@ function get_woocommerce_currency_symbol( $currency = '' ) {
|
|||
case 'JPY' :
|
||||
$currency_symbol = '¥';
|
||||
break;
|
||||
case 'KRW' : $currency_symbol = '₩'; break;
|
||||
case 'TRY' : $currency_symbol = 'TL'; break;
|
||||
case 'NOK' : $currency_symbol = 'kr'; break;
|
||||
case 'ZAR' : $currency_symbol = 'R'; break;
|
||||
|
|
Loading…
Reference in New Issue