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.

10+

How to Change the Error Text for Failed Submissions

This code snippet changes the error text that shows to your visitors on failed submissions.

10+

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:…

10+

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.

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/ */…

10+

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…

Change Fields On Donation Form

Example on how to change labels for fields on donation form.

Add Dropdown Field To Donation Form

Shows how to add a custom dropdown in a donation form (this example the select field…

Add Campaign Creator Name Donation Export

In this example, the campaign creator's name is added to the Donations export, so it's easy…

Display Post and Page IDs in WordPress Columns

This PHP code enables you to display the IDs of posts and pages within WordPress columns.…

Remove users from WP-JSON

Increase your site's security by hiding usernames from WP-JSON, that are otherwise exposed to the public.

Change the Post ID Being Processed by AIOSEO

This snippet can be used to change the Post ID being processed by AIOSEO.

10+

WP Simple Pay: Add More Aggressive Rate Limiting

Changes the various default rate limit settings.

1 30 31 32 33 34 222