Sauter la navigation

[Résolu] Split: Can’t hide toolset in dashboard menu – hide it for custom roles

Ce fil est résolu. Voici une description du problème et la solution proposée.

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 support ticket is created Il y a 4 années et 8 mois. There's a good chance that you are reading advice that it now obsolete.

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.

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)

Ce sujet contient 17 réponses, a 2 voix.

Dernière mise à jour par zbyszekZ Il y a 4 années et 8 mois.

Assisté par: Minesh.

Auteur
Publications
#1624195

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

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.

#1624509

Thanks a lot for your help!

Best regards!
Zbyszek Z.

#1624511

My issue is resolved now. Thank you!