Would you like to hide the currency symbol in the Total field of your WPForms? This can be useful for creating a cleaner look or meeting specific design requirements.
In this tutorial, we’ll show you how to use a custom code snippet to remove the currency symbol from the Total field in WPForms.
Adding the Code Snippet
To hide the currency symbol, you’ll need to add a custom code snippet to your site. If you need help adding custom code, please see our tutorial on adding code snippets.
Add the following PHP code snippet to your site:
This code snippet removes the following currency symbols from the Total field: £, $, €
.
And that’s it! You’ve now hidden the currency symbol in your WPForms Total field. This creates a cleaner look for your form while still maintaining the functionality of the Total field.
Would you like to learn more about customizing payment field labels in WPForms? Check out our tutorial on customizing payment form labels for more details.