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…
Disable All Page Builder Integration
This filter can be used to completely disable our page builder integration for all builders.
Change Time zone Offset in the Publish Date of the Sitemap Entries
The code snippet below can be used to change the time zone offset in the publish…
Remove the Article schema from Posts
This snippet removes the Article schema from Posts
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 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 */…
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( )…
Customizing Checkbox and Radio Fields to Look Like Buttons (All Forms)
This code snippet will customize Checkbox and Radio fields to look like buttons for all forms.
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.
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…