Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想使用当前用户信息打印成员的用户角色,有没有人有类似下面的代码
$user_role=get_user_role($user_id);
我是 buddypress 的新手 :)