Skip to content

Instantly share code, notes, and snippets.

@messica
Created August 6, 2015 15:27
Show Gist options
  • Select an option

  • Save messica/2f394186fbe842ddefd6 to your computer and use it in GitHub Desktop.

Select an option

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.
<?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