Startseite › Toolset Professional Support › [Gelöst] 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.
Dieses Thema wurde abgetrennt von https://toolset.com/de/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)
Verwandte Dokumentation:
Dieses Thema enthält 17 Antworten, hat 2 Stimmen.
Zuletzt aktualisiert von zbyszekZ vor 4 Jahren, 8 Monaten.
Assistiert von: 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!