Created
November 17, 2016 17:45
-
-
Save barrykooij/99f0c1d6ce1773bf7d9bfee8578cb0ca 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
function my_custom_symbol( $currency_symbol, $currency ) { | |
if( $currency == 'LKR') { | |
$currency_symbol = 'The special LKR symbol'; | |
} | |
return $currency_symbol; | |
} | |
add_filter( 'wpcm_currency_symbol', 'my_custom_symbol' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment