Title: Disable multiple role selection
Last modified: March 10, 2021

---

# Disable multiple role selection

 *  Resolved [Greg Marshall](https://wordpress.org/support/users/timeassistant/)
 * (@timeassistant)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/disable-multiple-role-selection/)
 * Hello, I hope this is a simple one !
 * I am looking to remove the “multiple role” drop down from profile editor / creating
   new user in backend. I would like to switch it back to the standard single choice
   dropdown.
 * I didn’t see an option so I am hoping you could provide a filter or something
   please?
 * Ideally I would like to disable the multiple choice for specific roles and only
   let the ‘administrator’ role select multiple if at all. But I am happy enough
   if I have to disable it globally.
 * Use case: We have ‘sub admins’ that will be able to create users however if they
   fail to follow instructions and assign a user account 2 roles it will break what
   I have done so I would prefer to stop them having the choice.
 * I look forward to a response thanks
 * Edit: I had tried just disabling the plugin which does indeed remove the multi
   select, but I have enabled taxonomy and type specific settings from the right
   hand side of the capabilities screen and disabling the plugin seems to disable
   those settings too so I am a little stuck !
    -  This topic was modified 5 years, 3 months ago by [Greg Marshall](https://wordpress.org/support/users/timeassistant/).

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

 *  Plugin Author [Kevin Behrens](https://wordpress.org/support/users/kevinb/)
 * (@kevinb)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/disable-multiple-role-selection/#post-14163383)
 * [@timeassistant](https://wordpress.org/support/users/timeassistant/) It’s not
   currently possible to disable the multiple role selector; we’ll look into adding
   a switch for that in a future release.
 * For now, you can disable it by adding the following code to your theme’s functions.
   php:
 * [https://pastebin.com/dtyhWhUF](https://pastebin.com/dtyhWhUF)
 * If you are also running the PublishPress plugin, you’ll need to go into PublishPress
   > Settings and disabled the Roles feature.
 *  Thread Starter [Greg Marshall](https://wordpress.org/support/users/timeassistant/)
 * (@timeassistant)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/disable-multiple-role-selection/#post-14166914)
 * Hello Kevin, that worked perfectly. I modified it a little bit and added an if
   statement to check the users role first.
 * Thank you very much this seems to be a perfect solution for now 🙂
 *  Plugin Author [PublishPress](https://wordpress.org/support/users/publishpress/)
 * (@publishpress)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/disable-multiple-role-selection/#post-14166937)
 * That’s great to hear, thanks [@timeassistant](https://wordpress.org/support/users/timeassistant/)
 * If you have a minute, please consider leaving a positive review of the plugin:
   
   [https://wordpress.org/support/plugin/capability-manager-enhanced/reviews/](https://wordpress.org/support/plugin/capability-manager-enhanced/reviews/)

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

The topic ‘Disable multiple role selection’ is closed to new replies.

 * ![](https://ps.w.org/capability-manager-enhanced/assets/icon-256x256.png?rev=
   3568949)
 * [PublishPress Capabilities - User Role Editor, Access Permissions, User Capabilities, Admin Menus](https://wordpress.org/plugins/capability-manager-enhanced/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/capability-manager-enhanced/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/capability-manager-enhanced/)
 * [Active Topics](https://wordpress.org/support/plugin/capability-manager-enhanced/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/capability-manager-enhanced/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/capability-manager-enhanced/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [PublishPress](https://wordpress.org/support/users/publishpress/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/disable-multiple-role-selection/#post-14166937)
 * Status: resolved