Created
June 9, 2021 08:07
-
-
Save mehul0810/6e479d1d5f73223ca27026b328de343e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function custom_prefix_modify_currency_symbol( $symbol ) { | |
if( defined( 'ICL_LANGUAGE_CODE' ) && 'en' === ICL_LANGUAGE_CODE ) { | |
$symbol = 'AED'; | |
} | |
return $symbol; | |
} | |
add_filter( 'give_currency_symbol', 'custom_prefix_modify_currency_symbol', 10 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment