What's the code to check the current user's community role?
-
I want to know what the code is to check a user’s community role before I begin to execute a code. I assume the logic would look like the following
if um_community_role() = ( 'some-role' || 'another-role' ) { # your code here... }
May you help point me in the right direction? Any help is appreciated.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘What's the code to check the current user's community role?’ is closed to new replies.