LLMS_Lesson::get_next_lesson()

Get next lesson ID


Description Description


Return Return

(false|int) ID of the next lesson, if any, false otherwise.


Top ↑

Source Source

File: includes/models/model.llms.lesson.php


			

Top ↑

Changelog 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.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.