Added Naira to Available Currency

Naira is the official currency of Nigeria. A lot of stores are powered
by WC in Nigeria. This commit add the Naira currency and symbol to WC
#4533
This commit is contained in:
Tunbosun Ayinla 2014-01-19 20:55:29 +01:00
parent a382733c51
commit daf73f1252
1 changed files with 2 additions and 0 deletions

View File

@ -163,6 +163,7 @@ function get_woocommerce_currencies() {
'KRW' => __( 'South Korean Won', 'woocommerce' ),
'MYR' => __( 'Malaysian Ringgits', 'woocommerce' ),
'MXN' => __( 'Mexican Peso', 'woocommerce' ),
'NGN' => __( 'Nigerian Naira', 'woocommerce' ),
'NOK' => __( 'Norwegian Krone', 'woocommerce' ),
'NZD' => __( 'New Zealand Dollar', 'woocommerce' ),
'PHP' => __( 'Philippine Pesos', 'woocommerce' ),
@ -241,6 +242,7 @@ function get_woocommerce_currency_symbol( $currency = '' ) {
case 'GBP' : $currency_symbol = '£'; break;
case 'RON' : $currency_symbol = 'lei'; break;
case 'VND' : $currency_symbol = '₫'; break;
case 'NGN' : $currency_symbol = '₦'; break;
default : $currency_symbol = ''; break;
}