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? 🙂
- The topic ‘Current_User_Can, multiple args question’ is closed to new replies.