learndash_get_topic_list learndash_get_topic_list( int|null $lesson_id = null, int|null $course_id = null ) Gets the topics list for a lesson. ContentsDescription Parameters Return Source Changelog Related Namespace @package Uses Used By Description # Parameters # $lesson_id (int|null) (Optional) The ID of the lesson to get topics. Default value: null $course_id (int|null) (Optional) Course ID. Default value: null Return # (array) An array of topics list. Source # File: includes/course/ld-course-navigation.php Changelog # Changelog Version Description 2.1.0 Introduced. Related # Namespace # global @package # LearnDash / Navigation Uses # Uses Uses Description includes/course/ld-course-steps-functions.php: learndash_course_get_topics () Get the Course Lesson Topics. includes/course/ld-course-functions-legacy.php: learndash_get_topic_list_legacy () LEGACY: Gets the topics list for a lesson. includes/course/ld-course-functions.php: learndash_get_course_id () Gets the course ID for a resource. Used By # Used By Used By Description includes/course/ld-course-progress.php: learndash_is_quiz_accessable () Checks if the quiz is accessible to the user. includes/course/ld-course-functions-legacy.php: learndash_get_course_progress_legacy () LEGACY: Gets the user’s current course progress. includes/admin/classes-posts-listings/class-learndash-admin-assignments-listing.php: Learndash_Admin_Assignments_Listing::listing_filter_by_lesson () Filter the main query listing by the lesson_id includes/admin/classes-posts-listings/class-learndash-admin-essays-listing.php: Learndash_Admin_Essays_Listing::listing_filter_by_lesson () Filter the main query listing by the lesson_id includes/admin/class-learndash-admin-posts-listing.php: Learndash_Admin_Posts_Listing::selector_filter_for_topic () Topic Selector Filter. includes/class-ld-lms.php: SFWD_LMS::select_a_lesson_or_topic () Makes wp_query to retrieve lessons or topics for a course includes/course/ld-course-navigation.php: learndash_topic_dots () Outputs the LearnDash topic dots. includes/course/ld-course-progress.php: learndash_lesson_topics_completed () Checks if the lesson topics are completed. includes/shortcodes/ld_topic_list.php: ld_topic_list () Builds the [ld_topic_list] shortcode output.
Uses # Uses Uses Description includes/course/ld-course-steps-functions.php: learndash_course_get_topics () Get the Course Lesson Topics. includes/course/ld-course-functions-legacy.php: learndash_get_topic_list_legacy () LEGACY: Gets the topics list for a lesson. includes/course/ld-course-functions.php: learndash_get_course_id () Gets the course ID for a resource.
Used By # Used By Used By Description includes/course/ld-course-progress.php: learndash_is_quiz_accessable () Checks if the quiz is accessible to the user. includes/course/ld-course-functions-legacy.php: learndash_get_course_progress_legacy () LEGACY: Gets the user’s current course progress. includes/admin/classes-posts-listings/class-learndash-admin-assignments-listing.php: Learndash_Admin_Assignments_Listing::listing_filter_by_lesson () Filter the main query listing by the lesson_id includes/admin/classes-posts-listings/class-learndash-admin-essays-listing.php: Learndash_Admin_Essays_Listing::listing_filter_by_lesson () Filter the main query listing by the lesson_id includes/admin/class-learndash-admin-posts-listing.php: Learndash_Admin_Posts_Listing::selector_filter_for_topic () Topic Selector Filter. includes/class-ld-lms.php: SFWD_LMS::select_a_lesson_or_topic () Makes wp_query to retrieve lessons or topics for a course includes/course/ld-course-navigation.php: learndash_topic_dots () Outputs the LearnDash topic dots. includes/course/ld-course-progress.php: learndash_lesson_topics_completed () Checks if the lesson topics are completed. includes/shortcodes/ld_topic_list.php: ld_topic_list () Builds the [ld_topic_list] shortcode output.