LLMS_Student::get_next_lesson( int $course_id )
Get the next lesson a student needs to complete in a course
Parameters Parameters
- $course_id
-
(int) (Required) WP_Post ID of the course
Return Return
(int) WP_Post ID of the lesson or false if all courses are complete
Source Source
File: includes/models/model.llms.student.php
return $levels; } /** * Get the full name of a student * * @return string * @since 3.0.4 * @version 3.5.1 */ public function get_name() { $name = trim( $this->get( 'first_name' ) . ' ' . $this->get( 'last_name' ) );
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.0.1 | Introduced. |