Home › Toolset Professional Support › [Resolved] Split: Can’t hide toolset in dashboard menu – hide it for custom roles
Problem:
How to hide the Toolset menu in admin (backend) for a specific role
Solution:
To hide/remove Toolset menu for a specific user role, you need to use the standard WordPress hook: admin_menu
You can find the proposed solution, in this case with the following reply:
=> https://toolset.com/forums/topic/split-cant-hide-toolset-in-dashboard-menu-hide-it-for-custom-roles/#post-1623699
Relevant Documentation:
=> https://developer.wordpress.org/reference/hooks/admin_menu/
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
This topic is split from https://toolset.com/forums/topic/cant-hide-toollset-in-dashboard-menu/
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | 10:00 – 13:00 | 10:00 – 13:00 | 10:00 – 13:00 | 10:00 – 13:00 | 10:00 – 13:00 | - |
- | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | - |
Supporter timezone: Asia/Kolkata (GMT+05:30)
Related documentation:
This topic contains 17 replies, has 2 voices.
Last updated by zbyszekZ 4 years, 5 months ago.
Assisted by: Minesh.
I did not see that when only Access plugin was active but yes, you are right. The custom Code section available even Types is deactivated.
So, that's the thing. You need to keep the Types plugin active so that the code runs successfully.
Thanks a lot for your help!
Best regards!
Zbyszek Z.
My issue is resolved now. Thank you!