LLMS_Quiz_Attempt::set_questions( array $questions = array(), boolean $save = false )

Setter for serialized questions array


Parameters Parameters

$questions

(array) (Optional) Question data.

Default value: array()

$save

(boolean) (Optional) If true, immediately persists to database. Default false.

Default value: false


Top ↑

Return Return

(LLMS_Quiz_Attempt) This quiz attempt instance (for chaining).


Top ↑

Source Source

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

				return false;
			}
		}


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.