LLMS_Quiz_Attempt::get_siblings( array $args = array(), string $return = 'attempts' )
Get sibling attempts
Description Description
Parameters Parameters
- $args
-
(Optional) List of args to be passed as params of the quiz attempts query. See
LLMS_Query_Quiz_Attempt
andLLMS_Database_Query
for the list of args. By default theper_page
param is set to 1000.Default value: array()
- $return
-
(Optional) Type of return [ids|attempts]. Default 'attempts'.
Default value: 'attempts'
Return Return
(int[]|LLMS_Quiz_Attempt[]) Type depends on value of $return
.
Source Source
File: includes/models/model.llms.quiz.attempt.php
Changelog Changelog
Version | Description |
---|---|
4.2.0 | Introduced. |