Support » Plugin: Adminimize » Quick Way to hide admin menu for certain Roles!

  • ttaku


    I installed this and within 10 minutes was able to remove a lot of menu options from the back end admin menu. Whats cool is i can add blocks to hide that werent included as long as it has a class or id i can use to select.

    I am using this plugin along with the User Role Editor plugin.

    I had to give manage_option capability for “subscribers” to use a certain plugin which also gave those users access to the options settings. I used this plugin to hide all those links from them.

    This plugin just hides the link, if the user typed in the url they can still access those pages, so if you want to completely prevent access you will have to do more.

    I added a block of code in the functions.php that detects the users capability, checks which page is view with the pagenow then using wp_redirect send them to another page.
    something similar to this:

  • The topic ‘Quick Way to hide admin menu for certain Roles!’ is closed to new replies.