user menu for logged in and logged out users
function my_wp_nav_menu_args( $args = '' ) { if( is_user_logged_in() ) { $args['menu'] = 'logged-in'; } else…
Re-route BuddyPress emails through WP Mail SMTP
This snippet will re-route all BuddyPress emails through WP Mail SMTP. This code snippet will also…
MemberPress: Add Custom Message Before Payment Methods Section On Registration Pages
This snippet adds a custom message before the section showing available payment methods on MemberPress regisatrtion…
Add Read More Link
Add a Read More link to the campaigns in the campaign grid.
Custom Cart Row
Provides a function which can be modified to add a custom row of HTML to the…
Displaying WPForms Pro on Quiz and Survey Master Results Pages
This code snippet will ensure WPForms Pro forms displays properly on QSM results pages.
Helper functions to make generating WordPress post type labels and taxonomy labels easier
Generate post type and taxonomy labels easily by specifying the singular and plural version of the…
Disable emails on free purchases
If the purchase was for a free product, don't send any emails.
Google Tag Manager Head
Google tag Manager Snippet (head section)
Use Single Tenant With the Outlook Mailer
This snippet will set the Outlook API authorization and access token URLs to use your unique…
Forum
JS code for question and answer page
Company Field on Receipt
Outputs the "Company" on the payment receipt.
Update Cart Automatically
/** * Update Cart Automatically on Quantity Change * * @author Misha Rudrastyh * @url https://rudrastyh.com/woocommerce/remove-update-cart-button.html…
WP Simple Pay: Remove Card Terms
Removes auto-generated terms displayed under card fields.