Changing sublabels for Email Field on a Single Form
This snippet is used to change sublabel for Email field on a specific form. Be sure…
Changing the Name Attribute of a Hidden Field
This code snippet can be used to change the Name attribute of a Hidden field.
Remove Google Fonts (Elementor)
add_filter( 'elementor/frontend/print_google_fonts', '__return_false' );
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.
Add Multiple Checkboxes To Donation Form
This uses the "multi-checkbox" vs just "checkbox" for a single checkbox.
How to Add BCC to Email Notifications (for specific form)
/** * Add BCC recipients to specific form email notifications. * * @link https://wpforms.com/docs/how-to-add-bcc-to-email-notifications/ */ add_filter(…
Allow Other WordPress Roles to Manage Email Logs
This snippet will allow you to manage the capabilities of roles allowed to manage the site's…
Enable HTTP Strict Transport Security (HSTS) in WordPress
The provided code snippet is a WordPress function that enables a WordPress site's HTTP Strict Transport…
Remove the link from the current breadcrumb item on a page
This snippet removes the link from the current breadcrumb item on a page.
Hide Business Info Phone Number from the Front End
This filter can be used to hide business info phone number from the front end.
Remove Gutenberg Blocks Library CSS
Remove Gutenberg Block Library CSS from loading on the frontend
Automatic CSS/JavaScript Cache Busting
Replace the `ver` query arg with the JavaScript/CSS file's last modified timestamp (WordPress CSS/JS Cache Busting)
Remove the default 'aioseo-' ID prefix added for the Table of Content block
This snippet can be used to remove the default 'aioseo-' ID prefix added for the Table…
How to Disable Browser Autocomplete for Form Fields - specific fields
/** * Disable autocomplete for a specific form and field ID * * @link https://wpforms.com/developers/disable-browser-autocomplete-for-form-fields/ */…
Custom Receipt Page
Redirect to custom receipt or another page after a donation is completed. Can be per campaign…