How to Get a Connected Course by Lesson ID

Lessons are connected to courses by storing the course ID in each lesson’s post meta using the key “wpc-connected-lesson-to-course.”