WordPress.org

Ready to get started?Download WordPress

Forums

Current_User_Can, multiple args question (2 posts)

  1. j3ddesign
    Member
    Posted 2 years ago #

    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? :)

  2. maurixx
    Member
    Posted 2 years ago #

    Hi there,

    I've need the same solution ... Is there anyoune with a solution ?

    THX A LOT

    Maurizio

Topic Closed

This topic has been closed to new replies.

About this Topic