/** * Is the specified user the creator of the group? * * @since 1.2.6 * * @param int $user_id ID of the user. * @param int $group_id ID of the group. * * @return bool */ function groups_is_user_creator($user_id, $group_id) { return BP_Groups_Member::check_is_creator($user_id, $group_id); }