BuddyPress | Check if user is in current group [closed]

function is_user_a_member_of_this_group($user_id, $group_id)
    //return: bool
    return groups_is_user_member( $user_id, $group_id );
}

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)