From daf73f12527288e33fa67c9a5748dff495709e93 Mon Sep 17 00:00:00 2001 From: Tunbosun Ayinla Date: Sun, 19 Jan 2014 20:55:29 +0100 Subject: [PATCH] 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 --- includes/wc-core-functions.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/includes/wc-core-functions.php b/includes/wc-core-functions.php index b864c7cbe94..4cff1b1d4a6 100644 --- a/includes/wc-core-functions.php +++ b/includes/wc-core-functions.php @@ -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; }