Info
- 4 posts
- 2 voices
- Started 4 years ago by Ben L.
- Latest reply from chrishajer
- This topic is resolved
Check if a user is a moderator+
-
- Posted 4 years ago #
How do I? I tried
$user->caps['moderate']and I tried$user->has_cap('moderate'). Neither worked. What am I doing wrong?Edit: never mind, I figured it out.
-
- Posted 4 years ago #
How about
bb_current_user_can('moderate')? -
- Posted 4 years ago #
Two reasons that won't work:
1. That only checks the current logged in user.
2. I figured it out right as you were posting. -
- Posted 4 years ago #
What did you figure out? Can you post the solution please?
-
You must log in to post.