Title: Hide plugin options
Last modified: September 1, 2016

---

# Hide plugin options

 *  Resolved [Fernando Lopes](https://wordpress.org/support/users/fernandolopes/)
 * (@fernandolopes)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/hide-plugin-options/)
 * Hello
    How can hide these options to users who are not administrators?
 * Profile User [http://i.imgur.com/IANxunF.png](http://i.imgur.com/IANxunF.png)
 * Add New User [http://i.imgur.com/VTtAHQu.jpg](http://i.imgur.com/VTtAHQu.jpg)
 * Thank you!
 * [https://wordpress.org/plugins/backwpup/](https://wordpress.org/plugins/backwpup/)

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

 *  Plugin Contributor [Daniel Hüsken](https://wordpress.org/support/users/danielhuesken/)
 * (@danielhuesken)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/hide-plugin-options/#post-7571926)
 * Hello,
 * normely a not admin user schould not see the options.
 *  Thread Starter [Fernando Lopes](https://wordpress.org/support/users/fernandolopes/)
 * (@fernandolopes)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/hide-plugin-options/#post-7571928)
 * Humm. Maybe it’s because I gave user permission to add other users, with the 
   code:
 * [https://gist.github.com/ofernandolopes/b21f6362a48ba731af16c1b3a6454187](https://gist.github.com/ofernandolopes/b21f6362a48ba731af16c1b3a6454187)
 * I can still hide the plugin options for users who are not administrators? Thank
   you.
 *  Plugin Contributor [Daniel Hüsken](https://wordpress.org/support/users/danielhuesken/)
 * (@danielhuesken)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/hide-plugin-options/#post-7571941)
 * Pleace check that the user has no capebillites from backwpup. Normly the administrator
   role only shuld have the capebilities.
 * BackWPup capebilities all prefixed with backwpup.
    [https://github.com/inpsyde/backwpup/blob/master/inc/class-install.php#L86-L95](https://github.com/inpsyde/backwpup/blob/master/inc/class-install.php#L86-L95)
 *  Thread Starter [Fernando Lopes](https://wordpress.org/support/users/fernandolopes/)
 * (@fernandolopes)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/hide-plugin-options/#post-7571943)
 * No. No user other than the administrator, has these capabilities. 🙁
 * Thank you for listening
 *  Plugin Contributor [Daniel Hüsken](https://wordpress.org/support/users/danielhuesken/)
 * (@danielhuesken)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/hide-plugin-options/#post-7571995)
 * Can you send screenshots about that to support at backwpup dot com
 *  [Nazar Hotsa](https://wordpress.org/support/users/bugnumber9/)
 * (@bugnumber9)
 * [9 years ago](https://wordpress.org/support/topic/hide-plugin-options/#post-9159537)
 * Hi Daniel,
 * I’d like to know the answer to this as well 🙂
 * I gave my editors extra capabilities of adding/editing/deleting users, so I’d
   like to hide the BackWPup Role part from them as well.
 * Thanks.
 *  [Nazar Hotsa](https://wordpress.org/support/users/bugnumber9/)
 * (@bugnumber9)
 * [9 years ago](https://wordpress.org/support/topic/hide-plugin-options/#post-9159570)
 * Daniel,
 * I figured it out myself a few minutes after I posted here 🙂
    I removed delete_users
   capability from editors and this does the trick.
 * Hope I got it right?
 *  Plugin Contributor [Brandon Olivares](https://wordpress.org/support/users/cocreation/)
 * (@cocreation)
 * [9 years ago](https://wordpress.org/support/topic/hide-plugin-options/#post-9159628)
 * [@bugnumber9](https://wordpress.org/support/users/bugnumber9/), glad it is working
   for you. Please let us know if you need anything else. 🙂
 *  [Nazar Hotsa](https://wordpress.org/support/users/bugnumber9/)
 * (@bugnumber9)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/hide-plugin-options/#post-9322984)
 * Bumping this one since I found a more elegant way to achieve the goal.
 * However, the additional requirement is this: [https://github.com/herewithme/wp-filters-extras/](https://github.com/herewithme/wp-filters-extras/)
   It can be activated as a stand-alone plugin, but I simply added the code to my
   custom plugin.
    Then it’s as simple as this:
 *     ```
       if ( !current_user_can('update_core') ) {
       	remove_filters_for_anonymous_class( 'show_user_profile', 'BackWPup_Admin', 'user_profile_fields', 10 );
       	remove_filters_for_anonymous_class( 'edit_user_profile', 'BackWPup_Admin', 'user_profile_fields', 10 );
       }
       ```
   
 * Problem solved 🙂

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

The topic ‘Hide plugin options’ is closed to new replies.

 * ![](https://ps.w.org/backwpup/assets/icon-256x256.png?rev=3236141)
 * [BackWPup – WordPress Backup & Restore Plugin](https://wordpress.org/plugins/backwpup/)
 * [Support Threads](https://wordpress.org/support/plugin/backwpup/)
 * [Active Topics](https://wordpress.org/support/plugin/backwpup/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/backwpup/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/backwpup/reviews/)

 * 9 replies
 * 4 participants
 * Last reply from: [Nazar Hotsa](https://wordpress.org/support/users/bugnumber9/)
 * Last activity: [8 years, 10 months ago](https://wordpress.org/support/topic/hide-plugin-options/#post-9322984)
 * Status: resolved