Using Smart Tags in Your WordPress Rewrite Rules
This code snippet converts messy query string URLs into clean, user-friendly URLs while preserving functionality
Add Textbox To Donation Form
Adds a textbox to a donation form - for example, to collect a referral code.
Change Business Info Phone Icon
This filter can be used to change the business info phone icon. Replace "/assets/images/email-icon.png" with the…
Change 'streetLineTwo' in Local SEO address output to an empty string
This filter can be used to change 'streetLineTwo' in Local SEO address output to an empty…
Creating Additional Format for the Date / Time field
This snippet is used to add extra formats for the Time interval on the Date /…
Reduce Database Calls
You can edit your child theme and replace these calls with more specific information to stop…
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 Automatically Submit a Form with a Field Choice
/** * Trigger submit from checkbox click * * @link https://wpforms.com/developers/how-to-automatically-submit-a-form-with-a-field-choice/ */ function wpf_dev_automatic_submit_form( ) {…
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…
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
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/…
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.
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
Disabling Past Times on the Date / Time Field
This snippet disables past times on the Time Picker field in WPForms.