Support » Plugin: Menu Item Visibility Control » Visibility on Multiple Role User

Viewing 2 replies - 1 through 2 (of 2 total)
  • Im using a user roll editor and I have mad a new roll and called it staff. I have a menu option that only shows up if your logged in and set to the roll of staff or admin. Here is what it looks like option “in_array(‘administrator’&&’staff’, $GLOBALS[‘current_user’]->roles)”

    If this is what you mean.

    What I am looking is, in your case staff and admin. Both conditions must be satisfied to see the menu.

    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Visibility on Multiple Role User’ is closed to new replies.