To change the currency symbol to AED (United Arab Emirates Dirham), you would typically follow these steps depending on the platform or application you’re using:
- In WordPress (for websites)
Go to your Dashboard.
Navigate to Settings > General.
Change the Currency to AED in the “Currency” section if using an e-commerce plugin like WooCommerce.
You can also use the WooCommerce settings to set the currency symbol by going to WooCommerce > Settings > General, and then selecting AED as the currency.
add code
/**
change currency symbol to AED
*/
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;
}