Admin Menu Editor
Hide other Admin users menu (6 posts)

  1. MarkHedley
    Posted 2 years ago #


    On the pro version you can hide menu options for the currently logged in user. Is there a way to select which user you want to configure.

    By the way, great plugin, and it worked, unlike others I tried.



  2. Janis Elsts
    Plugin Author

    Posted 2 years ago #

    No, at the moment user permissions are only available for the logged-in user.

    In general, if you need to change permissions for one or more users, it's better to either change them for the entire role, or create a custom role just for those users. You can use a plugin like User Role Editor to create new roles.

  3. MarkHedley
    Posted 2 years ago #

    Thanks for quick response. I think the ability to change another admin role would be better rather than needing yet another plugin.

  4. MarkHedley
    Posted 2 years ago #

    Hi, This does not function as I expected, it states in the FAQ on your web site:

    How do I make a menu inaccessible to everyone but myself?

    You can configure a menu item to be accessible only to a specific user. To do this, set its capability field to “user:” + user login. For example, if you have a user John Smith with the login “smith”, set the capability field to “user:smith”. Now only this user will be able to see that menu.

    But I cannot work out how to do this? Basically I want to restrict access to certain menus to me only. It seems setting the restriction for one admin user applies to all?

    Any help appreciated.

  5. Janis Elsts
    Plugin Author

    Posted 2 years ago #

    If you want to be the only one who can see a menu, just disable it for all roles and then (re-)enable it for "Current user". You don't need to manually set capabilities for that.

    You can also do it via "user:..." capabilities, but it will be more complicated:

    1. Enable the menu for your role and "current user".
    2. Open menu properties and click the "Edit..." button next to the "Permissions" field.
    3. Enter "user:yourusername" in the "Extra capability" field.
    4. Save changes.

    In general, the capability field is intended for advanced configuration and situations that call for more complex logic, like "allow only users that have role A or role B, but not capability C, and deny user Steve in particular".

  6. staytigler
    Posted 1 year ago #

    Easier way is to use Admin Menu Editor Pro (they have a free version but it's super cheap so I bought the pro.


    Don't mess with code..that's a pain. Upload. Install. Configure. Done.

    Allows you the ability to see everything...but limit what other users or user types can see. Has been a God send in creating WordPress sites for my clients. I block off Plugins, Settings and anything else I don't want them going in and messing up!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Admin Menu Editor
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.