How to Automatically Redirect If User Is Already Logged In
/** * Automatic redirect from login form if a user is already logged in * *…
Change Business Info Email Icon
This filter can be used to change the business info email icon. Replace "/assets/images/email-icon.png" with the…
Hide AlOSEO version number from the front end
This filter can be used to publicly hide the All in One SEO version number.
Removing the Header Image From Notification Emails of Specific Forms
This code snippet hides the header image in notification emails for only a few forms instead…
Allow Users Without Editing Permissions to Edit Their Author SEO Details
This filter can be used to allow users that don’t have editing permissions to edit their…
How to Add BCC to Email Notifications (for all forms)
add_filter( 'wp_mail', function ( $args ) { // Add the BCC email address here $bcc_address =…
Change the separator html on pages
This snippet can be used to change the separator html on pages
Focused Form Fields
This CSS snippet will make your fields focused on click.
Change Validation Messages for WPML
When you need to provide multiple different language translations, these messages need to be conditionally different.…
How to Move to the Next Page Automatically
/** * Navigate to the next page automatically * * @link https://wpforms.com/developers/how-to-move-to-the-next-page-automatically/ */ function wpf_dev_automatic_next_page( )…
Remove the crumb for the ‘uncategorized’ category
This snippet can be used to remove the crumb for the ‘uncategorized’ category
Set max-video-preview to 0
This snippet sets max-video-preview robots meta tag to 0
Change OG Title of a Specific Post
This filter can be used to change the OG Title of a Specific Post with ID…
Remove BreadcrumbList Schema
This snippet removes the BreadcrumbList Schema
How to Center a Form
This code centers the form using margin: 0 auto and sets a maximum width of 500px.