Merge pull request #4534 from tubiz/master

Add Naira Currency and Symbol to Woocommerce
This commit is contained in:
Mike Jolley 2014-01-20 04:10:22 -08:00
commit eafdc19c68
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;
}