Conditionalize function around user role
-
Is it possible to reference user roles from functions.php?
I’m wanting to implement a specific function Oasis Workflow where a certain user type can skip submitting to Workflow for certain content types.
For example:
if( userRole == ‘master-author’) {
// do things
}Is that possible?
Thank you
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Conditionalize function around user role’ is closed to new replies.