Free and Premium WordPress Plugins & Themes Forums WordPress Plugins Hotel Booking Currency Symbol Change
- This topic has 3 replies, 3 voices, and was last updated 4 years, 5 months ago by
Stacy Lind.
- AuthorPosts
- July 9, 2018 at 3:22 am #697550
Manoj
ParticipantHi
We have selected United Arab Emirates Dirham as the currency and we get currency symbol in Arabic letters. Instead of that we just need AED as a symbol and we tried below code from another topic to create a new currency.add_filter( ‘mprm_currencies’, ‘add_my_currency’ );
function add_my_currency( $currencies ) {
$currencies[‘TEST’] = __( ‘Currency name’, ‘mprm’ );
return $currencies;
}but nothing happened. Please guide us to change it to AED in place of Arabic letters.
Thanks and Regards
Manoj KB
July 10, 2018 at 2:49 pm #698060J. Davis
KeymasterHi Manoj,
We are going to update currency list in a new version. Stay tuned to to miss this release.
Meanwhile you can use the code below to edit currency label of United Arab Emirates Dirhamadd_filter('mphb_currency_symbols', 'change_aed_currency_symbol', 10, 2); function change_aed_currency_symbol ( $currency_symbol ) { $currency_symbol['AED'] = ('AED'); return $currency_symbol; }
July 10, 2018 at 4:12 pm #698106Manoj
ParticipantHi J. Davis
It worked perfectly for us. Great support and waiting for the new version.
Thanks and Regards
Manoj
December 25, 2018 at 3:04 pm #754968Stacy Lind
KeymasterAll the missing currencies were added in version 2.7.5 of MotoPress Hotel Booking.
- AuthorPosts
- You must be logged in to reply to this topic.