Changing the Cache Time on Your Form Token
/** * Extend cache time on form tokens before today. * * @link https://wpforms.com/developers/how-to-change-the-cache-time-on-your-form-token */ function…
Adding a Clear Button to Reset All Fields in Your Form
This code snippet will clear all input fields at once.
Add Campaign Progress Bar Shortcode
Add a new shortcode to display the progress bar for a particular campaign.
Decrease the retention period to one week for the Action Scheduler
By default, Action Scheduler will automatically remove completed tasks after thirty days. However, this time period…
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…
Disable the Last Updated Date in Index/Root XML Sitemap
This filter can be used to disable the Last Updated date that All in One SEO…
Disabling Past Times on the Date / Time Field
This snippet disables past times on the Time Picker field in WPForms.
Sending Multiple File Uploads to Google Drive through Zapier
This snippet modifies our Zapier integration and allows users to send multple files submitted through the…
How to Use Conditional Logic With a Date Picker
/** * Use conditional logic with a date field to show or hide another form field…
Fix Image Caption Rendering Issue Caused by WPResidence Theme
This snippet fixes the Image Caption Rendering Issue Caused by WPResidence Theme
How to Get the URL from the File Upload Form Field
/** * Get and use the File Upload field URL * * @link https://wpforms.com/developers/how-to-get-the-url-from-the-file-upload-form-field/ */ function…
How to Add an Empty Dropdown to Dropdown Items
This snippet maintains a clean "--Select--" option without the zero price display when using the Dropdown…
Displaying Shortcodes Inside Form Label Fields
/** * Run shortcodes on the form label field. * * @link https://wpforms.com/developers/how-to-display-shortcodes-inside-the-label-of-the-form-field/ */ function add_shortcode_to_label(…
Set AIOSEO Metabox Priority to Low
Set the AIOSEO metabox priority to low
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…