LLMS_Quiz::is_orphan()

Determine if the quiz is an orphan


Description Description


Return Return

(bool)


Top ↑

Source Source

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

	public function is_orphan() {

		$parent_id = $this->get( 'lesson_id' );

		if ( ! $parent_id ) {
			return true;
		}

		return false;

	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.16.12 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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