LLMS_Course::get_students( string|string[] $statuses = 'enrolled', integer $limit = 50, integer $skip )
Get an array of student IDs based on enrollment status in the course
Parameters Parameters
- $statuses
-
(string|string[]) (Optional) List of enrollment statuses to query by. Students matching at least one of the provided statuses will be returned. Default is 'enrolled'.
Default value: 'enrolled'
- $limit
-
(integer) (Optional) Number of results. Default is
50
.Default value: 50
- $skip
-
(integer) (Optional) Number of results to skip (for pagination). Default is
0
.
Return Return
(array)
Source Source
File: includes/models/model.llms.course.php
} /**
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |