Support » Fixing WordPress » Current_User_Can, multiple args question

  • Hi,
    So in doing a site for my current client I have been dabbling in custom user roles and permissions.
    All has been going smoothly however, purely for future time-saving purposes I would like to be able to add multiple role queries to the “current_user_can”

    for example, something along the lines of… if (current_user_can('administrator', 'manager', 'staff'));

    How would I go about doing this? 🙂

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Current_User_Can, multiple args question’ is closed to new replies.