Set a specific language for Cloudflare Turnstile.
/** * Set a specific language for Cloudflare Turnstile. * * @link https://wpforms.com/developers/how-to-set-the-language-for-cloudflare-turnstile */ function wpf_add_turnstile_language_script()…
Collect National Id Number
Add a field that collects the donor's national ID number, or any other text field.
Add Custom Campaign And Donation Field
In this example, a new email field is added which can be used both in campaign…
Add Campaign Raised Summary
Add a short summary after the donation details showing the funds raised by each campaign.
Register New Donation Field
Adding a new field (in this example it is a National ID Number). Explains all the…
Upload font files to media library
Allow the upload of font files (.ttf, .otf, .woff & .woff2) to WordPress media library
Allow Webp, SVG, ICO
A Pro Snippet
Add Email Headers
Add headers to Charitable emails (for example CC/BCC headers).
Change the redirect URI when using Google App’s OAuth
If you prefer not to use the default OAuth redirect URI (connect.wpmailsmtp.com) for added security and…
Change Postcode To Zipcode
Change the "Postcode" field into a "ZIP Code" field.
Change the Email Summary Email Address
This snippet will allow you to specify who the email summaries should be delivered to. On…
Block URLs Inside Text Fields
This snippet will prevent Text and Textarea fields such as Single Line Text and Paragraph text…
How to Change the Error Text for Failed Submissions
This code snippet changes the error text that shows to your visitors on failed submissions.
How to Customize the Labels for Image Choices - Combined effect
form#wpforms-form-1000 .wpforms-field .wpforms-image-choices-item:hover .wpforms-image-choices-label { position: absolute; top: 0; left: 50%; transform: translateX(-50%); background-color: #f6f6f6; color:…
Dynamically Setting Stripe Payment Description in WPForms
To dynamically set the Stripe payment description, add the following code snippet to your site.