How to get role of current user?
-
How does one determine the role of the current user?
I am successfully using current_user_can(), but I need ot know the name of the current role, not just its constituent capabilities. None of Google, the Codex, the forum posts, and even browsing some source have cracked this nut so far.
Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
- The topic ‘How to get role of current user?’ is closed to new replies.