Created
August 6, 2015 15:27
-
-
Save messica/2f394186fbe842ddefd6 to your computer and use it in GitHub Desktop.
Move the default position of the currency symbol for EUR from right to left.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| // Move the default position of the currency symbol for EUR from right to left. | |
| // 50.00€ -> €50.00 | |
| function my_pmpro_currencies($currencies) { | |
| $currencies['EUR']['position'] = 'left'; | |
| return $currencies; | |
| } | |
| add_filter('pmpro_currencies', 'my_pmpro_currencies'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment