Jump to content


Photo
- - - - -

Remove Features admin tab for certain user roles

admin menu features

Best Answer Danny , 26 September 2013 - 09:19 AM

Hi,

 

You will most likely need to use a plugin, you can do this with this plugin as far as I can remember - http://wordpress.org...in-menu-editor/

Go to the full post


  • Please log in to reply
5 replies to this topic

#1 levelup

levelup

    Newbie

  • Members
  • 9 posts
  • Country: Country Flag

Posted 25 September 2013 - 01:49 PM

Is there any nifty way to remove the "Features" admin menu tab for some user roles, editor and author. I thought it might be possible by hooking into the admin loading and unregistering the menu option. But I don't know exactly how.



#2 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 25 September 2013 - 11:42 PM

You will need this plugin to control your dashboard for various user levels:

Please Login or Register to see this Hidden Content



#3 levelup

levelup

    Newbie

  • Members
  • 9 posts
  • Country: Country Flag

Posted 26 September 2013 - 08:47 AM

I don't need to modify the dashboard, I want to hide the admin button (on the left hand side of the screen) for the "Features" from all except admin. At this time we are using a hackish workaround from the functions.php, we are hooking into "admin_init" and loading a js that hides the button if user is not admin.



#4 Danny

Danny

    Is Awesome!

  • Moderators
  • 17636 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 26 September 2013 - 09:19 AM   Best Answer

Hi,

 

You will most likely need to use a plugin, you can do this with this plugin as far as I can remember - 

Please Login or Register to see this Hidden Content



#5 levelup

levelup

    Newbie

  • Members
  • 9 posts
  • Country: Country Flag

Posted 27 September 2013 - 09:56 AM

Thank you, that is exactly what we needed.



#6 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 29 September 2013 - 02:52 PM

Excellent!







Also tagged with one or more of these keywords: admin, menu, features