Home / Admin / تغيير عمله
Duplicate Snippet

Embed Snippet on Your Site

تغيير عمله

Code Preview
php
<?php
/**
 * Change a currency symbol
 */
add_filter('woocommerce_currency_symbol', 'change_existing_currency_symbol', 10, 2);
function change_existing_currency_symbol( $currency_symbol, $currency ) {
     switch( $currency ) {
          case 'مصري': $currency_symbol = 'جنيه'; break;
     }
     return $currency_symbol;
}

Comments

Add a Comment