adding new currency
-
Dear support team,
I just deployed the plugin wp-advert and got difficulties when i try to add currency code and symbol.
what we have done were :
1. adding the instruction as in the documentation https://wpadverts.com/documentation/adding-new-currency/
to the theme function.php. and resultitng my web not opened (error).
2. I saw the suggestion from you to have : The file that contains the list is under classes/settings-api. Here is the method you want to modify:
[code:toysl7jk]
public function validate_payment_settings($options, $group) {
$currency_codes = array(‘AUD’,’BRL’,’CAD’,’CZK’,’DKK’,’EUR’,
‘HKD’,’HUF’,’ILS’,’JPY’,’MYR’,’MXN’,
‘NOK’,’NZD’,’PHP’,’PLN’,’GBP’,’SGD’,
‘SEK’,’CHF’,’TWD’,’THB’,’USD’);
[/code:toysl7jk]
That will allow you to save your currency in the settings.but don’t know where is it the file ?
Im very glad if you can help me.
Thank you
- The topic ‘adding new currency’ is closed to new replies.