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/ */…
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
Add Email Headers
Add headers to Charitable emails (for example CC/BCC headers).
Display Post and Page IDs in WordPress Columns
This PHP code enables you to display the IDs of posts and pages within WordPress columns.…
Change the Post ID Being Processed by AIOSEO
This snippet can be used to change the Post ID being processed by AIOSEO.
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 Programmatically Attach a File to Email Notifications
This code snippet uses the wpforms_emails_mailer_get_attachments filter to attach files to email notifications.
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:…
Add Field To Set Custom Page As Donation Page
Create a new campaign field allowing to select the page where donations are made.
Use Page Template For Campaigns
Instead of using the Post template for campaigns, use the Page template as a fallback.
WP Simple Pay: Create WordPress User After Payment
Creates a new WordPress user when a subscription is started or a one-time payment is made.
Custom Receipt Page
Redirect to custom receipt or another page after a donation is completed. Can be per campaign…
Add a color picker field in Formidable Forms
Install this snippet and add 'frm-color-picker' in the 'CSS Layout Classes' setting for a field.