Block URLs Inside Text Fields
This snippet will prevent Text and Textarea fields such as Single Line Text and Paragraph text…
Change the Default Taxonomy Slug “locations-category”
This filter can be used to change the default taxonomy slug “locations-category”.
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…
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/ */…
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()…
Collect National Id Number
Add a field that collects the donor's national ID number, or any other text field.
Add Custom Campaign And Donation Field
In this example, a new email field is added which can be used both in campaign…
Add Campaign Raised Summary
Add a short summary after the donation details showing the funds raised by each campaign.
Register New Donation Field
Adding a new field (in this example it is a National ID Number). Explains all the…