LLMS_Lesson::get_prerequisite()

Get the lesson prerequisite


Return Return

(int) ID of the prerequisite post.


Top ↑

Source Source

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

	public function get_prerequisite() {

		if ( $this->has_prerequisite ) {

			return $this->prerequisite;
		} else {
			return false;
		}
	}

Top ↑

Changelog Changelog

Changelog
Version Description
unknown Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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