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


Top ↑

Return Return

(int) WP_Post ID of the lesson or false if all courses are complete


Top ↑

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' ) );


Top ↑

Changelog Changelog

Changelog
Version Description
3.0.1 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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