LLMS_Membership::get_students( string|string[] $statuses = 'enrolled', int $limit = 50, int $skip )
Get an array of student IDs based on enrollment status in the membership
Description Description
Parameters Parameters
- $statuses
-
(Optional) List of enrollment statuses to query by status query is an OR relationship. Default is 'enrolled'.
Default value: 'enrolled'
- $limit
-
(Optional) Number of results. Default is
50
.Default value: 50
- $skip
-
(Optional) Number of results to skip (for pagination). Default is
0
.
Return Return
(array)
Source Source
File: includes/models/model.llms.membership.php
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |