learndash_get_user_groups_courses_ids learndash_get_user_groups_courses_ids( int $user_id ) Gets all courses accessible by the user’s groups. ContentsDescription Parameters Return Source Changelog Related Uses Used By Description # Parameters # $user_id (int) (Optional) User ID. Default 0. Return # (array) An array of course IDs. Source # File: includes/ld-users.php Changelog # Changelog Version Description 2.3.0 Introduced. Related # Uses # Uses Uses Description includes/ld-groups.php: learndash_get_users_group_ids () Get a users group IDs. includes/ld-groups.php: learndash_group_enrolled_courses () Gets the list of enrolled courses for a group. includes/ld-users.php: learndash_get_user_groups_courses_ids Filters the list of user group courses. Used By # Used By Used By Description includes/ld-users.php: learndash_user_get_enrolled_courses () Gets the list of all courses enrolled by the user.