Assign User Role Conditionally in WordPress
This snippet works with WPForms and the User Registration Add-on. It lets you assign user roles…
Add Translated Version Sitemap Entries for a Specific Term
This filter can be used to add Translated Version Sitemap Entries for a Specific Term. You…
How to Restrict Countries Inside Smart Phone Form Fields
/** * Restrict countries inside the Smart Phone form field * * @link https://wpforms.com/how-to-restrict-countries-inside-smart-phone-form-fields/ */ function…
Add A Default Campaign Custom Amount
Return a "default" amount if there isn't one isn't set in the session. Read all notes…
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.
Remove the Key Text on Conversational Forms
This CSS will remove the Key Text on all Conversational Forms.
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 Validation Messages for WPML
When you need to provide multiple different language translations, these messages need to be conditionally different.…
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…
Add Taxonomy Label to LLMS Term Titles
This snippet prepends the taxonomy label to term titles shown in llms.txt and llms-full.txt.
Focused Form Fields
This CSS snippet will make your fields focused on click.
Change OG Title of a Specific Post
This filter can be used to change the OG Title of a Specific Post with ID…
Breadcrumbs - Hide WooCommerce Shop crumb
This filter can be used to hide the WooCommerce Shop page from the breadcrumbs.