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…
Creating Additional Format for the Date / Time field
This snippet is used to add extra formats for the Time interval on the Date /…
How to Populate a Form Field from an Anchor Link
/** * Populate field from anchor link. * * @link https://wpforms.com/developers/how-to-populate-a-form-field-from-an-anchor-link/ */ function wpf_dev_autofill_field() { ?>
How to Add Firework Animation to Confirmation Message
/** * Add fireworks to the canvas element on the confirmation message * * @link https://wpforms.com/developers/how-to-add-confetti-animation-to-confirmation-message/…
Localizing Date Picker Strings
This snippet is used to modify WPForms' default date picker locale
Remove article:published_time and article:modified_time meta tags from all posts
This filter can be used to remove article:published_time and article:modified_time meta tags from all posts
Approving User Account After Completed PayPal Payment
This snippet conditionally approves a user's account after they've completed their payment through the PayPal gateway.
How to Display a List of WPForms Using a Shortcode
This snippet will create a new shortcode that can display all your WPForms forms.
Disabling Past Times on the Date / Time Field
This snippet disables past times on the Time Picker field in WPForms.
Real-time validation for restricting numbers from Single Line Text field
/** * Dynamically prevent numbers from being entered on single line text fields * * @link…
Add Donation Form Shortcode
Display a specific campaign's donation form using a shortcode.
Add Campaign Progress Bar Shortcode
Add a new shortcode to display the progress bar for a particular campaign.
Dynamically Change the SEO Title of a Specific Post Before the Metadata is Saved
The code snippet below can be used to dynamically change the SEO title of a specific…
Remove datePublished and dateModified properties from the Article schema for Posts
This snippet removes the datePublished and dateModified properties from the Article schema for Posts
Displaying the Total Number of Entries on Your Site
This snippet creates a shortcode that you can use to display the total number of entries…