WooCommerce - Changing the currency sign of UAE Dirham
add_filter( 'woocommerce_currency_symbol', 'wc_change_uae_currency_symbol', 10, 2 ); | |
function wc_change_uae_currency_symbol( $currency_symbol, $currency ) { | |
switch ( $currency ) { | |
case 'AED': | |
$currency_symbol = 'AED'; | |
break; | |
} | |
return $currency_symbol; | |
} |
This comment has been minimized.
This comment has been minimized.
beags121
commented
Oct 24, 2019
Awesome |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This comment has been minimized.
shamsy commentedAug 1, 2019
Thank you