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.


Top ↑

Return Return

(array)


Top ↑

Source Source

File: includes/models/model.llms.course.php

		}

		/**


Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.