How to Defer the reCAPTCHA Script
/** * Defer the reCAPTCHA script until after the page loads * * @link https://wpforms.com/developers/how-to-defer-the-recaptcha-script/ */…
Collect National Id Number
Add a field that collects the donor's national ID number, or any other text field.
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()…
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.
Using an Office 365 GCC or DoD email address
For security measures, Government Community Cloud (GCC) and U.S. Department of Defense (DoD) accounts typically use…
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 Postcode To Zipcode
Change the "Postcode" field into a "ZIP Code" field.
How to Change the Error Text for Failed Submissions
This code snippet changes the error text that shows to your visitors on failed submissions.
Remove Login Form
Remove the login prompt from being displayed before the donation form.
increase upload memory
upload_max_filesize = 256M post_max_size = 256M max_execution_time = 300 />
Dynamically Setting Stripe Payment Description in WPForms
To dynamically set the Stripe payment description, add the following code snippet to your site.