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( )…
Overwriting Entries From Users Who Have Already Submitted a Form
This snippet will overwrite old entries from a user each time they submit a new one…
Setting a Default Featured Image for Post Submissions
This snippet is used to assign a default image that'll serve as the featured image for…
Hiding the Currency Symbol in WPForms Total Field
This code snippet removes the following currency symbols from the Total field: £, $, €.
How to Create a Form With Floating Labels
/** * Remove the field label from the top of the field * * @link https://wpforms.com/developers/how-to-create-a-form-with-floating-labels/…
How to Store Field Values in the WPForms Entry
/** * Show values in Dropdown, checkboxes, and Multiple Choice. */ add_action( 'wpforms_fields_show_options_setting', '__return_true' ); /**…
Disable Schema Output for WooCommerce products
This filter can be used to Disable Schema Output for WooCommerce products.
Custom Style Icons for Rating field
This snippet will customize your rating icons in the Rating field
Disable Redirect Logging in AIOSEO Redirects
This filter can be used to skip logging redirect logging in AIOSEO Redirects.
Remove Multiple Fields From {all_fields} in Notifications
This code snippet removes multiple fields from your email notifications while still using the {all_fields} smart…
Change Default Post Type Slug “location”
This filter can be used to change the default post type slug from “location” to 'franchise'.
Disable Emoji Image Conversion Script of the Classic Editor
This filter can be used to disable the emoji image conversion script of the Classic Editor…
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(…
Change Default Post Type Plural Label “Locations”
This filter can be used to change the default post type plural label from “Locations” to…
To Remove a Single Field From {all_fields}
This code snippet removes a single field from your email notifications while still using the {all_fields}…