Collect National Id Number
Add a field that collects the donor's national ID number, or any other text field.
MemberPress: Add Membership Titles To the Top of Registration Pages
This code snippet will add a membership title to each MemberPress membership registration page. Titles will…
Custom Receipt Page
Redirect to custom receipt or another page after a donation is completed. Can be per campaign…
How to Customize the Rich Text Field TinyMCE Icons
/** * Customize Rich Text Field TinyMCE buttons for top toolbar. * * @link https://wpforms.com/developers/how-to-customize-the-rich-text-field-tinymce-icons/ */…
Customize the From Email Address for the Save and Resume Addon
This snippet will customize the from email address that the Save and Resume addon uses when…
Add Campaign Raised Summary
Add a short summary after the donation details showing the funds raised by each campaign.
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()…
Register New Donation Field
Adding a new field (in this example it is a National ID Number). Explains all the…
Allow Webp, SVG, ICO
A Pro Snippet
How to Change Google reCAPTCHA Language Settings
WPML support
Changing the Name Attribute of a Hidden Field
This code snippet can be used to change the Name attribute of a Hidden field.
Add Email Headers
Add headers to Charitable emails (for example CC/BCC headers).
Set WP Login Url To Charitable Login Page
Always use the Charitable login page as the login.
Change Postcode To Zipcode
Change the "Postcode" field into a "ZIP Code" field.
How to Programmatically Attach a File to Email Notifications
This code snippet uses the wpforms_emails_mailer_get_attachments filter to attach files to email notifications.