Change Location Taxonomy Options When its Registered
This filter can be used to change the taxonomy option to ‘hierarchical’
Exclude a Specific Term from the Sitemap
This filter can be used to Exclude a Specific Term from the Sitemap. Note: Replace 412…
Change Twitter Title for a Specific Post
This filter can be used to Change the Twitter Title for a Specific Post. You can…
Using Conditional Logic to Change Date Picker Locale
This snippet works with the WPML plugin and only apply date picker locale changes when the…
Change the Payment Delimiter Inside Email Notifications
This snippet changes the default separator for payment details in emails.
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 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/…
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 )…
How to Add an Input Mask to the International Postal Code
/* * Custom input mask for the address field's international scheme. * * @link https://wpforms.com/developers/how-to-add-an-input-mask-to-the-international-postal-code */…
Use a custom ID prefix in Table of Content block
This snippet can be used to add a custom ID prefix for the Table of Content…
Dynamically Displaying Years in Your Forms
/** * Dynamically display years in the forms * * @link https://wpforms.com/developers/how-to-dynamically-display-years-in-your-forms/ */ function wpf_dev_dynamic_school_year( )…
Remove Google Fonts (Elementor)
add_filter( 'elementor/frontend/print_google_fonts', '__return_false' );
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…
Disable Custom Link Format of AIOSEO in the Block and Classic Editors
This snippet can be used to disable the custom link format that All in One SEO…
Remove Address Line 2 from the Local SEO address output on the front end
This filter can be used to remove Address Line 2 from the Local SEO address output…