Forums

Join
bbPress Support ForumsTroubleshootingCheck if a user is a moderator+

Info

Tags

Check if a user is a moderator+

  1. 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.

  2. How about bb_current_user_can('moderate')?

  3. 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.

  4. What did you figure out? Can you post the solution please?

  5. You must log in to post.