How to adjust your membership site’s default currency format.

Currency formatting varies from country to country. For example, the placement of a comma (“,”) or period (“.”) in a currency format can mean something completely different depending on what currency is being used. Our core plugin offers formatting for several built-in currencies, which you can specify on the Memberships > Payment Settings page, but what if your currency is not being properly represented?

This code recipe demonstrates how to use the pmpro_currencies filter to adjust the format to match your desired currency.

Danish Krone as Default Currency

Add and Set a New Default Currency using $pmpro_currencies

If your currency is not listed in the dropdown under Memberships > Payment Settings, the code gist below will allow you to add a new currency for membership checkout….

This content requires a Free Account or higher.

Already have an account?

Log In

New to this site?

Register Now