Using Conditional Logic to Change Date Picker Locale
This snippet works with the WPML plugin and only apply date picker locale changes when the…
How to Link Your Conversational Form Logo
This code snippet will make the logo clickable in a WPForms Conversational Form.
How to Restrict Numbers in a Single Line Text Form Field
/** * Disallow numbers in a single-line text field * * @link https://wpforms.com/developers/how-to-restrict-numbers-in-a-single-line-text-form-field/ */ function wpf_dev_disallow_numbers_text_field(…
How to Disable reCAPTCHA for Automated Testing
/** * Disable for automated testing. * * @link https://wpforms.com/developers/how-to-disable-recaptcha-for-automated-testing/ */ // Disable reCAPTCHA assets and…
How to Perform Field Comparisons Within Your WPForms
/** * Perform Field Comparisons * * @link https://wpforms.com/developers/how-to-perform-field-comparisons-within-your-wpforms/ */ function wpf_dev_compare_fields( $fields, $entry, $form_data )…
Automatic CSS/JavaScript Cache Busting
Replace the `ver` query arg with the JavaScript/CSS file's last modified timestamp (WordPress CSS/JS Cache Busting)
Add User Dashboard Menu
Include the User Dashboard menu at the top of all pages that are included in the…
Remove Donation Form Fields
This example shows how to remove fields from the donation form.
Display Donation Form
Display a specific campaign's donation form.
Remove Gutenberg Blocks Library CSS
Remove Gutenberg Block Library CSS from loading on the frontend
Disable Auto-generated Image Sizes
When we upload any media, WordPress automatically generates other extra sizes of it. It may eat…
Increase the Number of Posts Imported Per Batch from Rank Math Plugin
This filter can be used to increase the default number of posts imported per batch from…
Hide Business Info Phone Number from the Front End
This filter can be used to hide business info phone number from the front end.
Ignore Cover Image Block when “First Image in Content” is set as the Image Source
This filter can be used to ignore the cover image block when “First Image in Content”…
How to Change the Captcha Theme on Google Checkbox v2 reCAPTCHA
/** * Change the captcha theme for the Google Checkbox v2 reCAPTCHA * * @link https://wpforms.com/developers/how-to-change-the-captcha-theme-on-google-checkbox-v2-recaptcha/…