LLMS_Lesson::get_prerequisite()
Get the lesson prerequisite
Contents
Return Return
(int) ID of the prerequisite post.
Source Source
File: includes/models/model.llms.lesson.php
public function get_prerequisite() { if ( $this->has_prerequisite ) { return $this->prerequisite; } else { return false; } }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
unknown | Introduced. |