Merge pull request #4534 from tubiz/master
Add Naira Currency and Symbol to Woocommerce
This commit is contained in:
commit
eafdc19c68
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue