How to Get a List of All Lessons Attached to a Course

Getting a list of all lessons attached to a course is easy in WP Courses.

$course_id = 1;  // Set your course ID here.

$wp_lessons = new WPC_Lessons();
$lesson_nav = $wp_lessons->get_lesson_navigation($course_id);

echo $lesson_nav;