Disable Auto-generated Image Sizes
When we upload any media, WordPress automatically generates other extra sizes of it. It may eat…
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.
Change Postcode To Zipcode
Change the "Postcode" field into a "ZIP Code" field.
Remove Login Form
Remove the login prompt from being displayed before the donation form.
increase upload memory
upload_max_filesize = 256M post_max_size = 256M max_execution_time = 300 />
Auto Register Login Link
Replaces the login link included in the Auto Register email, which directs customers to log into…
Disable Update Emails
// Disable auto-update email notifications add_filter('auto_core_update_send_email', 'disable_auto_update_emails', 10, 4); function disable_auto_update_emails($send, $type, $core_update, $result) { if…
Remove Author Links
If you are disabling author archives on your site you will want to remove the author…
Hide the last item in the breadcrumb trail
This filter can be used to hide the last item in the breadcrumb trail.
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/ */…
Display Featured Image in Post List
Make featured image visible in post list and quick edit view for any kind of post…
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/ */…
Collect National Id Number
Add a field that collects the donor's national ID number, or any other text field.
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()…
Add Custom Campaign And Donation Field
In this example, a new email field is added which can be used both in campaign…