Storing User's Uncached IP Address in Hidden Field
This snippet lets you capture and store the user's IP address in the Hidden field. It…
Dynamically Change the SEO title of a Specific Term when the Metadata is Loaded
This filter can be used to dynamically change the SEO title of a specific term when…
Hiding Page Breaks When Using Conditional Logic
This snippet will hide pages in your form that include fields hidden with conditional logic if…
Merging Multiple WPForms Field Values into Post Content
/** * Merging Multiple WPForms Field Values into Post Content * * @link https://wpforms.com/developers/merging-multiple-wpforms-field-values-into-post-content */ function…
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 Build a Profile Page Using Post Submissions
With this snippet and the Post Submissions addon, you can create professional author profiles that automatically…
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…
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.
Add Campaign Link
Add a link back to the campaign from the donation receipt.
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…
Disable OpenGraph Tags on all Listing Detail Pages
This snippet disables OpenGraph Tags on all pages whose URL contains /listing-detail/
Add Custom Campaign Field
This example shows how you can add a new campaign field to be displayed in Charitable…
Custom Registration Fields
Add fields to the registration 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' ); /**…
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…