Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- This function will add South African Rand to the list of available currencies for your events.
- Edit accordingly for other currencies.
- For information on how to paste/implement this snippet, see here - http://wp-events-plugin.com/tutorials/how-to-safely-add-php-code-to-wordpress/
- */
- function my_em_add_currencies_CHF($currencies){
- $currencies->names['CHF'] = 'CHF - Swiss franc'; //textual representation of the currency
- $currencies->symbols['CHF'] = 'CHF'; //If the symbol requires an entity, like for € it's €
- $currencies->true_symbols['CHF'] = 'CHF'; //The actual symbol used, e.g. for Euros it's €
- return $currencies;
- }
- add_filter('em_get_currencies','my_em_add_currencies_CHF');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement