Code Snippet: Adjust Currency Symbols

The Display Eventbrite plugin has a table that converts currency code to symbols. Sometime a user may require a different symbol e.g. to remove confusion between $ types.

The following snippet is an example showing CAD changing the symbol to CAD$

You can adjust this code as you feel fit and can add the PHP to your functions.php or download as a plugin

Was this helpful?