Redirects users to the next available lesson page when course lesson pagination is enabled.

Description #

For example, we have a course with 100 lessons and the course has per page set to 10. The student can complete up to lesson 73. When the student returns to the course we don’t want to default to show the first page (lessons 1-10). Instead, we want to redirect the user to page 7 showing lessons 71-80.

Source #

File: includes/course/ld-course-functions.php

Changelog #

Version Description
2.5.4 Introduced.