Merge pull request #9455 from mohsinr/master
Add Currency Symbol for Pakistan, Issue #9453
This commit is contained in:
commit
37cd393d4a
|
@ -285,6 +285,7 @@ function get_woocommerce_currencies() {
|
||||||
'NGN' => __( 'Nigerian Naira', 'woocommerce' ),
|
'NGN' => __( 'Nigerian Naira', 'woocommerce' ),
|
||||||
'NOK' => __( 'Norwegian Krone', 'woocommerce' ),
|
'NOK' => __( 'Norwegian Krone', 'woocommerce' ),
|
||||||
'NZD' => __( 'New Zealand Dollar', 'woocommerce' ),
|
'NZD' => __( 'New Zealand Dollar', 'woocommerce' ),
|
||||||
|
'PKR' => __( 'Pakistani Rupee', 'woocommerce' ),
|
||||||
'PYG' => __( 'Paraguayan Guaraní', 'woocommerce' ),
|
'PYG' => __( 'Paraguayan Guaraní', 'woocommerce' ),
|
||||||
'PHP' => __( 'Philippine Pesos', 'woocommerce' ),
|
'PHP' => __( 'Philippine Pesos', 'woocommerce' ),
|
||||||
'PLN' => __( 'Polish Zloty', 'woocommerce' ),
|
'PLN' => __( 'Polish Zloty', 'woocommerce' ),
|
||||||
|
@ -407,6 +408,9 @@ function get_woocommerce_currency_symbol( $currency = '' ) {
|
||||||
case 'PHP' :
|
case 'PHP' :
|
||||||
$currency_symbol = '₱';
|
$currency_symbol = '₱';
|
||||||
break;
|
break;
|
||||||
|
case 'PKR' :
|
||||||
|
$currency_symbol = 'Rs.';
|
||||||
|
break;
|
||||||
case 'PLN' :
|
case 'PLN' :
|
||||||
$currency_symbol = 'zł';
|
$currency_symbol = 'zł';
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue