LLMS_Quiz::get_lesson()
Retrieve LLMS_Lesson for the quiz’s parent lesson
Description Description
Return Return
(obj)
Source Source
File: includes/models/model.llms.quiz.php
public function get_lesson() { $id = $this->get( 'lesson_id' ); if ( ! $id ) { return false; } return llms_get_post( $id ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.16.0 | Introduced. |
User Contributed Notes User Contributed Notes
Permalink: