Paid Memberships Pro with WC Vendors
// PAID MEMBERSHIPS PRO -- UPGRADE TO VENDOR, DOWNGRADE TO SUBSCRIBER /* Members signing up for…
Add custom page to the vendor dashboard
// Hook into the navigation add_filter( 'wcv_pro_dashboard_urls', 'add_test_page_nav', 9 ); function add_test_page_nav( $pages ){ $pages[ 'test_page'…
WP Simple Pay: Set a Per-Form Custom Amount Programmatically
Adjust a single payment form's custom amount value programatically.
CCT – názvy namiesto ID v admin stĺpcoch od Gruppa Taxonomy
/** * CCT – názvy namiesto ID v admin stĺpcoch od Gruppa Taxonomy * V zozname…
Hide sidebar on mobile device
function custom_hide_sidebar_on_mobile() { echo ' '; } add_action('wp_head', 'custom_hide_sidebar_on_mobile');
Discover LaMelo Shoes: Where Street Style Meets Basketball
Discover LaMelo Shoes – the perfect fusion of style, performance, and comfort. Whether you're dominating the…
How to Allow WordPress WooCommerce Direct Order to WhatsApp Free.
Post Intro In this tutorial you will learn How to Allow WordPress WhatsApp Direct Order to…
MemberPress: Assigning BuddyPress Member Type on Membership Signup
This code snippet assigns a specific BuddyPress member type when a user completes a signup in…
MemberPress: ACF - Exclude Protected Posts From ACF Repeater Field
The code snippet ensures that protected MemberPress posts are excluded from custom queries used in Advanced…
Google Tag Manager - Head
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id=GTM-XXXXXXXXXX'+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-XXXXXXXXXX');
Submission Form Redirect
Filter the redirect URL for successful FES Submission Form submission
MemberPress: Remove all but one country from the drop-down
Removes all the countries for the drop-down list on the account and registration pages and leaves…
Disable WooCommerce widgets on vendor store pages
/** * Remove widgets from the vendor store and single product pages conditionally. * * You…