learndash_30_has_topics learndash_30_has_topics( int|null $course_id = null, array|null $lessons = null ) Gets whether a lesson has topics or not. ContentsDescription Parameters Return Source Related Uses Description # Parameters # $course_id (int|null) (Optional) Course ID. Default value: null $lessons (array|null) (Optional) An array of lesson objects. Default value: null Return # (boolean) True if the lesson has topics otherwise false. Source # File: themes/ld30/includes/helpers.php Related # Uses # Uses Uses Description includes/course/ld-course-functions.php: learndash_get_course_id () Gets the course ID for a resource. includes/course/ld-course-navigation.php: learndash_topic_dots () Outputs the LearnDash topic dots.
Uses # Uses Uses Description includes/course/ld-course-functions.php: learndash_get_course_id () Gets the course ID for a resource. includes/course/ld-course-navigation.php: learndash_topic_dots () Outputs the LearnDash topic dots.