Skip to:
Content
Pages
Categories
Search
Top
Bottom

Check if a user is a moderator+


  • Ben L.
    Member

    @nightgunner5

    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

    @chrishajer

    How about bb_current_user_can('moderate')?


    Ben L.
    Member

    @nightgunner5

    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

    @chrishajer

    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