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)


Top ↑

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


Top ↑

Changelog Changelog

Changelog
Version Description
3.3.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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