Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
LLMS_Quiz::get_questions_raw()
Retrieve the array of raw question data from the postmeta table.
Return Return
(array)
Source Source
File: includes/models/model.llms.quiz.php
public function get_question_value( $question_id ) { foreach ( $this->get_questions_raw() as $q ) { if ( $question_id === $q['id'] ) { return absint( $q['points'] ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.3.0 | Introduced. |