Is there a way to restrict this feature to admins only? Regular users (subscribers) also have access to it, though they are restricted mainly to their profile. However, some plugins show up, mainly documentation, but no functions. Can this feature be restricted to a group of users?
http://wordpress.org/extend/plugins/wordpress-admin-bar/
Modify this line at the top of the plugin:
if ( !current_user_can( 'read' ) ) return;
Change the "read" to like "manage_options".
I'll add this to the options page in a future version.
nyliferocks
Member
Posted 4 months ago #
This will hide everything? How could I then disable only certain menus? Thanks