Open jennafarr opened 6 years ago
Hmmm...this seems like an extreme edge case. Can I ask why you have courses with no lessons? What does it enable?
Well we have offline and online courses that are sold through WooCommerce. Once a student takes the offline course, the instructor marks them as complete so they can obtain a certificate. I see that it is somewhat out of the norm but is it possible to provide a filter or hook that would allow us to complete the course for a user and bypass the check for lesson completions like it does when it's set to "course is complete anytime by clicking complete"?
When the Sensei settings are set that a course is completed when all lessons are completed, we are unable to manually mark a student as complete for courses which have no lessons
We have a combination of courses with lessons but some without but need the "Mark as completed" to still work for courses which have no lessons
Sensei version: 1.9.18