Add Field To Set Custom Page As Donation Page
Create a new campaign field allowing to select the page where donations are made.
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.
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…
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/ */…
Add Custom Campaign And Donation Field
In this example, a new email field is added which can be used both in campaign…
Automatically Delete Woocommerce Images After Deleting a Product
Automatically Delete Woocommerce Images After Deleting a Product
display user name in a menu
/** * Show a user's display name/user name in a WordPress menu. * Once this code…
Add Dropdown Field To Donation Form
Shows how to add a custom dropdown in a donation form (this example the select field…
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 Programmatically Attach a File to Email Notifications
This code snippet uses the wpforms_emails_mailer_get_attachments filter to attach files to email notifications.
Dynamically Setting Stripe Payment Description in WPForms
To dynamically set the Stripe payment description, add the following code snippet to your site.
How to Block Names From Completing Your Form - First Last and First Middle Last format
/** * Prevent certain names from the other formats for the Name form field. * *…
Upload font files to media library
Allow the upload of font files (.ttf, .otf, .woff & .woff2) to WordPress media library
Change Fields On Donation Form
Example on how to change labels for fields on donation form.