/** * Check whether a user is a mod of a given group. * * @param int $user_id ID of the user. * @param int $group_id ID of the group. * * @return bool */ function groups_is_user_mod($user_id, $group_id) { return BP_Groups_Member::check_is_mod($user_id, $group_id); }