Hi, you can register new currency via API, you can do that by adding following code to your theme functions.php
add_filter("adverts_currency_list", "add_adverts_currency");
function add_adverts_currency($list) {
$list[] = array(
"code"=>"PHP",
"sign"=>"₱",
"label"=>"Philippine Peso"
);
return $list;
}
Note that adding this code will only register new currency, after that you will need to go to wp-admin / Classifieds / Options / Payments / Pricing panel and change currency for each pricing.
Thread Starter
Eve
(@etransac)
Hi Greg
Sorry but I’m a newbie and still exploring wordpress… where can i find my API?
I’m using a child theme and just added the code into my theme functions.php but nothing happened.. added new entry but still shows PHP.
Just paste the code from my last message in your theme functions.php file.
Thread Starter
Eve
(@etransac)
Hi Greg,
Thanks its now working…i did a minor change cos the first one still shows PHP
Revision:
change “code”=>”PHP”, to “code”=>”₱”,