LLMS_Quiz::get_question_value( int $question_id )
Get the (points) value of a question.
Parameters Parameters
- $question_id
-
(int) (Required) WP Post ID of the LLMS_Question.
Return Return
(int)
Source Source
File: includes/models/model.llms.quiz.php
272 273 274 275 276 277 278 279 280 281 282 | $layout = llms_get_quiz_theme_setting( 'layout' ); if ( $layout ) { $arr [ $layout [ 'id' ] ] = get_post_meta( $this ->get( 'id' ), $layout [ 'id' ], true ); } } return $arr ; } /** |
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.37.2 | Use strict comparison '===' in place of '=='. |
3.3.0 | Introduced. |