bbPress

Simple, Fast, Elegant

bbPress support forums » Troubleshooting

Check if a user is a moderator+

(4 posts)
  • Started 12 months ago by Nightgunner5
  • Latest reply from chrishajer
  • This topic is resolved

Tags:

  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.

    Posted 12 months ago #
  2. How about bb_current_user_can('moderate')?

    Posted 12 months ago #
  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.

    Posted 12 months ago #
  4. What did you figure out? Can you post the solution please?

    Posted 12 months ago #

RSS feed for this topic

Reply

You must log in to post.

Code is Poetry.