• Celebrating our Birthday with fantastic offers for you! Avail 15% discount on all our Addons NOW!

Disable product tab in vendor page

WooCommerce Multivendor Marketplace – Home Forums WCFM Disable product tab in vendor page

Tagged: ,

This topic contains 1 reply, has 1 voice, and was last updated by Avatar diego 1 day, 3 hours ago.

  • Author
    Posts
  • #76423
    Avatar
    diego
    Participant

    Hello,
    in the vendor store page, I want to disable the product tab and make the about tab the default.

    How should I do?

    I tried this code, but it doesn’t work as I want.

    add_filter( 'wcfmmp_store_tabs', function( $store_tabs, $store_id ) {
        if( isset( $store_tabs['products'] ) ) unset( $store_tabs['products'] );
        return $store_tabs;
    }, 50, 2 );

    Thanks a lot

  • #77068
    Avatar
    diego
    Participant

    up

You must be logged in to reply to this topic.