LLMS_Quiz_Attempt::get_next_question( int $last_question = null )
Retrieve the next unanswered question in the attempt
Description Description
Parameters Parameters
- $last_question
-
(Optional) WP Post ID of the current LLMS_Question the "next" refers to. Default
null
.Default value: null
Return Return
(int|false)
Source Source
File: includes/models/model.llms.quiz.attempt.php
Changelog Changelog
Version | Description |
---|---|
4.2.0 | Use strict type comparison. |
3.9.0 | |
3.16.0 | Introduced. |