get capabilities of user, by user ID
-
is there a function (or method) to know if a user ID has admin capabilities ?
i’m writing a plugin which needs to know if a comment was posted by someone with admin caps. it’s not enough to just check $comment->user_id ==1 , since there can be more than one user with admin caps on a blog.
- The topic ‘get capabilities of user, by user ID’ is closed to new replies.