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…
Add Campaign Link
Add a link back to the campaign from the donation receipt.
Restricting Address Autocomplete to a Specific Country
This snippet is used to modify the default behavior of the address autocomplete feature in WPForms.…
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( )…
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/…
Add Custom Campaign Field
This example shows how you can add a new campaign field to be displayed in Charitable…
Disable OpenGraph Tags on all Listing Detail Pages
This snippet disables OpenGraph Tags on all pages whose URL contains /listing-detail/
Disable Schema Output for WooCommerce products
This filter can be used to Disable Schema Output for WooCommerce products.
Multi Step Donation Form
This snippet provides a foundation for converting the donation form into a multi-step donation form.
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' ); /**…
Hiding the Currency Symbol in WPForms Total Field
This code snippet removes the following currency symbols from the Total field: £, $, €.
Custom Registration Fields
Add fields to the registration form.
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…