Skip Unwanted 404 Logs
This snippet will successfully prevent AIOSEO from logging 404 errors for the specified URLs.
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…
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…
Add Taxonomy Label to LLMS Term Titles
This snippet prepends the taxonomy label to term titles shown in llms.txt and llms-full.txt.
How to Automatically Submit a Form with a Field Choice - CSS
button#wpforms-submit-3046 { display: none; } form#wpforms-form-3046 span.wpforms-icon-choices-label { font-size: 0; } ul#wpforms-3046-field_3 li label:hover, ul#wpforms-3046-field_4 li…
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…
Sending Numerical Values Through Webhooks
This snippet allows you to send numbers through Webhooks as opposed to the default behaviour that…
Change Validation Messages for Required Fields - WPML
Below is an example that changes the required field validation message depending on the language WPML…
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…
Hiding Page Breaks When Using Conditional Logic
This snippet will hide pages in your form that include fields hidden with conditional logic if…
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…
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.
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/…