Title: [Plugin: WordPress Admin Bar] Admins only?
Last modified: August 19, 2016

---

# [Plugin: WordPress Admin Bar] Admins only?

 *  Resolved [adamsmark](https://wordpress.org/support/users/adamsmark/)
 * (@adamsmark)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/plugin-wordpress-admin-bar-admins-only/)
 * 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/](http://wordpress.org/extend/plugins/wordpress-admin-bar/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [viper007bond](https://wordpress.org/support/users/viper007bond/)
 * (@viper007bond)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/plugin-wordpress-admin-bar-admins-only/#post-817949)
 * 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](https://wordpress.org/support/users/nyliferocks/)
 * (@nyliferocks)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/plugin-wordpress-admin-bar-admins-only/#post-818130)
 * This will hide everything? How could I then disable only certain menus? Thanks

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[Plugin: WordPress Admin Bar] Admins only?’ is closed to new replies.

 * 2 replies
 * 3 participants
 * Last reply from: [nyliferocks](https://wordpress.org/support/users/nyliferocks/)
 * Last activity: [16 years, 11 months ago](https://wordpress.org/support/topic/plugin-wordpress-admin-bar-admins-only/#post-818130)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
