From 4b52c0d0524abb04b91e371c42a4c36dfc05f422 Mon Sep 17 00:00:00 2001 From: Claudio Sanches Date: Wed, 9 Dec 2015 13:06:54 -0200 Subject: [PATCH] Added Kenyan shilling currency --- includes/wc-core-functions.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/includes/wc-core-functions.php b/includes/wc-core-functions.php index 17e058720da..e9db4718f24 100644 --- a/includes/wc-core-functions.php +++ b/includes/wc-core-functions.php @@ -294,6 +294,7 @@ function get_woocommerce_currencies() { 'INR' => __( 'Indian Rupee', 'woocommerce' ), 'ISK' => __( 'Icelandic krona', 'woocommerce' ), 'JPY' => __( 'Japanese Yen', 'woocommerce' ), + 'KES' => __( 'Kenyan shilling', 'woocommerce' ), 'KIP' => __( 'Lao Kip', 'woocommerce' ), 'KRW' => __( 'South Korean Won', 'woocommerce' ), 'MXN' => __( 'Mexican Peso', 'woocommerce' ), @@ -402,6 +403,9 @@ function get_woocommerce_currency_symbol( $currency = '' ) { case 'ISK' : $currency_symbol = 'Kr.'; break; + case 'KES' : + $currency_symbol = 'KSh'; + break; case 'KIP' : $currency_symbol = '₭'; break;