LLMS_Quiz_Attempt::get_questions( boolean $cache = true )
Get array of serialized questions
Description Description
Parameters Parameters
- $cache
-
(boolean) (Optional) if true, save data to to the object for future gets
Default value: true
Return Return
(mixed)
Source Source
File: includes/models/model.llms.quiz.attempt.php
public function get_questions( $cache = true ) { $questions = $this->get( 'questions', $cache ); if ( $questions ) { return unserialize( $questions ); } return array(); }
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: