learndash_get_topic_list( $lesson_id = null, int|null $course_id = null )
Gets the topics list for a lesson.
Description Description
Parameters Parameters
- $for_lesson_id
-
(Required) The ID of the lesson to get topics.
- $course_id
-
(Optional) Course ID.
Default value: null
Return Return
(array) An array of topics list.
Source Source
File: includes/course/ld-course-navigation.php
Changelog Changelog
Version | Description |
---|---|
2.1.0 | Introduced. |