Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // The code below you can paste in your theme functions.php or create
- // new plugin and paste the code there.
- add_filter("adverts_currency_list", "add_adverts_currency");
- /**
- * Add new currency to the list
- *
- * @var $list Array list of currencies
- * @return Array updated list of currencies
- */
- function add_adverts_currency($list) {
- $list[] = array(
- "code"=>"RSD", // ISO 4217 currency code, see http://en.wikipedia.org/wiki/ISO_4217
- "sign"=>"Din", // ili RSD, po želji
- "label"=>"Serbian dinar" // currency long name
- );
- return $list;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement