Skip to:
Content
Pages
Categories
Search
Top
Bottom

Check if a user is a moderator+

  • @nightgunner5

    Member

    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • @chrishajer

    Participant

    How about bb_current_user_can('moderate')?

    @nightgunner5

    Member

    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.

    @chrishajer

    Participant

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Skip to toolbar