Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // WooCommerce - Change a currency symbol
- add_filter( 'woocommerce_currency_symbol', 'change_existing_currency_symbol', 10, 2);
- function change_existing_currency_symbol( $currency_symbol, $currency ) {
- switch( $currency ) {
- case 'SEK':
- $currency_symbol = 'SEK';
- break;
- }
- return $currency_symbol;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement