Claim your freedom to choose the perfect partner for your multi-vendor journey.

FREEDOM25

Celebrate the festive season by giving your marketplace a powerful lift!

FESTIVE20

5.0.0
Something big is coming for marketplace admins… MultiVendorX 5.0 is almost here. Are you ready?
Be the first to explore all the game-changing features!
Power your marketplace dreams with unbeatable Black Friday deals!

MVXBLACK30

Supercharge your marketplace vision with unstoppable Cyber Monday deals!

MVXCYBER30

Holiday cheer, bigger savings
Take 25% off-because your marketplace deserves a gift too.

happyholiday

View Categories

Restrict Backend Access

You can add the below code in the functions.php file of your current active theme to restrict vendor from accessing the WordPress backend:

function block_wp_admin() {
    if ( is_admin() && ! current_user_can( 'administrator' ) && ! ( defined( 'DOING_AJAX' ) && DOING_AJAX ) ) {
        wp_safe_redirect( home_url() );
        exit;
    }
}
add_action( 'admin_init', 'block_wp_admin' );

You can add the below code in the functions.php file of your current active theme to remove the “vendor backend access” option from the vendor dashboard:

add_filter('mvx_vendor_dashboard_header_right_panel_nav', function( $panel_nav ){
    unset($panel_nav['wp-admin']);
    return $panel_nav;
  } );

Leave a Reply

Shopping Cart
Scroll to Top