I’ve a fairly particular requirement to indicate completely different textual content in a discipline label on the person profile web page primarily based on the present person’s position. I can not appear to determine the best way to verify whether or not the present use is an “creator”.
I’m on the lookout for a perform like:
is_user_in_role($person, "creator");
I think about that is fairly easy, however I’ve looked for too lengthy with out a solution so I believed I’d submit it right here.