Title: Does it work when users have multiple roles?
Last modified: July 26, 2018

---

# Does it work when users have multiple roles?

 *  [educationservices](https://wordpress.org/support/users/educationservices/)
 * (@educationservices)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/does-it-work-when-users-have-multiple-roles/)
 * WordPress supports multiple roles per user. We have been using WP Nav Rules but
   it only considers the user’s first or primary role when deciding whether the 
   user is allowed to see a menu item. Does this plugin ( If Menu – Visibility control
   for Menu Items ) have the ability to display a menu item if any of the users 
   roles match the permission condition or is it also limited to checking the first
   or primary role?

Viewing 1 replies (of 1 total)

 *  Plugin Author [Andrei](https://wordpress.org/support/users/andreiigna/)
 * (@andreiigna)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/does-it-work-when-users-have-multiple-roles/#post-10532950)
 * Hi,
 * Thanks for the interest in **If Menu** plugin!
 * Yes, can confirm that the plugin will check for all roles linked to a user.
 * For example, if a menu item is set for “Customer” and “Shop Manager”, the plugin
   will do a check like `is "Customer" or "Shop Manager in User roles "Subscriber","
   Customer", "Editor"` and display the menu item because Customer matches.
 * ![Screen_Shot_2018_07_27_at_12_09_11](https://i0.wp.com/preview.ibb.co/f2nHw8/
   Screen_Shot_2018_07_27_at_12_09_11.png?ssl=1)
 * Hope this helps
    -  This reply was modified 7 years, 11 months ago by [Andrei](https://wordpress.org/support/users/andreiigna/).

Viewing 1 replies (of 1 total)

The topic ‘Does it work when users have multiple roles?’ is closed to new replies.

 * ![](https://ps.w.org/if-menu/assets/icon-256x256.png?rev=1862232)
 * [If Menu - Visibility control for Menus](https://wordpress.org/plugins/if-menu/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/if-menu/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/if-menu/)
 * [Active Topics](https://wordpress.org/support/plugin/if-menu/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/if-menu/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/if-menu/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Andrei](https://wordpress.org/support/users/andreiigna/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/does-it-work-when-users-have-multiple-roles/#post-10532950)
 * Status: not resolved