• I have a site that I want a specific user role to have edit access to woocommerce orders but not to ADD ORDER and woocommerce memberships that have edit access but do not want them to be able ADD MEMBER. Their dashboard shows a pinned ‘Orders’ menu item in the sidebar menu and when expanded the submenu items are ‘Orders’ and ‘Add Order’. Same with the Memberships. How can I remove, disable or hide the ‘Add..’ items from the dashboard?
    I don’t know how to write code and found one thing online that will remove the ‘Add Order’ button in the page context but cannot find anything for the dashboard sidebar. Please help.

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    I suggest you ask in the respective dedicated forums of each plugin and extension since preventing new additions likely varies in each case. The WooCommerce dedicated forum is here. It’s not clear which membership extension you are using.

    The easiest method may be to simply hide the menu links or buttons, but any halfway knowledgeable user can still figure out the correct link and navigate to the proper screen. The only secure way to prevent new additions is to either prevent access through PHP code or remove the user’s capability of adding new items. The plugin devs and expert users you can reach through the dedicated forums are in the best position to advise you of the best approach.

Viewing 1 replies (of 1 total)

The topic ‘Remove Submenu from Admin Dashboard’ is closed to new replies.