LLMS_Lesson::get_next_lesson()
Get next lesson ID
Description Description
Return Return
(false|int) ID of the next lesson, if any, false otherwise.
Source Source
File: includes/models/model.llms.lesson.php
Changelog Changelog
| Version | Description |
|---|---|
| 4.4.2 | Use a numeric comparison for the previous position meta query. |
| 4.4.0 | Improve query so that unpublished siblings do not break expected results. |
| 4.10.2 | Refactor to use helper method get_sibling(). |
| 3.24.0 | |
| 1.0.0 | Introduced. |