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…
Change the separator symbol on pages
This snippet can be used to change the separator symbol on pages
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…
Change Default Post Type Singular Label “Location”
This filter can be used to change the default post type singular label from “Location” to…
Change Location Taxonomy Options When its Registered
This filter can be used to change the taxonomy option to ‘hierarchical’
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 Add Address Field Validation For Authorize.net
/** * Add address validation for Authorize.net address fields * * @link https://wpforms.com/developers/how-to-add-address-field-validation-for-authorize-net/ */ function wpf_dev_authorize_address_validation(…
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 Disable Browser Autocomplete for Form Fields - all fields
/** * Disable form autocomplete for all fields on a specific form * * @link https://wpforms.com/developers/disable-browser-autocomplete-for-form-fields/…
Automatic CSS/JavaScript Cache Busting
Replace the `ver` query arg with the JavaScript/CSS file's last modified timestamp (WordPress CSS/JS Cache Busting)