LLMS_Quiz::get_lesson()

Retrieve LLMS_Lesson for the quiz’s parent lesson


Description Description


Return Return

(obj)


Top ↑

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

Top ↑

Changelog Changelog

Changelog
Version Description
3.16.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

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





Permalink: