• Resolved alexantoine1

    (@alexantoine1)


    Hello,

    I would like to know if it is possible to hide some items on the menu in vendor dashboard page.
    I want the vendors to have only access to what is necessary. For exemple, I don’t want them to view reports item on the menu, or I don’t want them to go to the settings page.
    I use wcfm ultimate, with products vendors.

    How could I do that?

    Regards,

    Alex

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author WC Lovers

    (@wclovers)

    Hi,

    Can you please once go through WCfM Capability Settings?

    You are allowed to hide most of this from there.

    Still if you want anything additional plase know me.

    Thank You

    Plugin Author WC Lovers

    (@wclovers)

    Hi,

    Well, you are not allowed to disable settings menu from there.

    Kindly add this code for the purpose –

    function wcfm_hide_wcfm_menus( $wcfm_menus ) {
    	if( wcfm_is_vendor() ) {
    		unset( $wcfm_menus['wcfm-settings'] );
    	}
    	return $wcfm_menus;
    }
    add_filter( 'wcfm_menus', 'wcfm_hide_wcfm_menus', 600 );

    Add this at your child theme’s functions.php

    Thank You

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘hide menu items in vendor dashboard’ is closed to new replies.