Merge pull request #9455 from mohsinr/master

Add Currency Symbol for Pakistan, Issue #9453
This commit is contained in:
Mike Jolley 2015-10-28 07:55:19 -06:00
commit 37cd393d4a
1 changed files with 4 additions and 0 deletions

View File

@ -285,6 +285,7 @@ function get_woocommerce_currencies() {
'NGN' => __( 'Nigerian Naira', 'woocommerce' ),
'NOK' => __( 'Norwegian Krone', 'woocommerce' ),
'NZD' => __( 'New Zealand Dollar', 'woocommerce' ),
'PKR' => __( 'Pakistani Rupee', 'woocommerce' ),
'PYG' => __( 'Paraguayan Guaraní', 'woocommerce' ),
'PHP' => __( 'Philippine Pesos', 'woocommerce' ),
'PLN' => __( 'Polish Zloty', 'woocommerce' ),
@ -407,6 +408,9 @@ function get_woocommerce_currency_symbol( $currency = '' ) {
case 'PHP' :
$currency_symbol = '₱';
break;
case 'PKR' :
$currency_symbol = 'Rs.';
break;
case 'PLN' :
$currency_symbol = 'zł';
break;