LLMS_Student::get_completed_courses( array $args = array() )
Retrieve IDs of courses a user has completed
Description Description
Parameters Parameters
- $args
-
(Optional) query arguments @arg int $limit number of courses to return @arg string $orderby table reference and field to order results by @arg string $order result order (DESC, ASC) @arg int $skip number of results to skip for pagination purposes
Default value: array()
Return Return
(array) "courses" will contain an array of course ids "more" will contain a boolean determining whether or not more courses are available beyond supplied limit/skip criteria
Source Source
File: includes/models/model.llms.student.php
Changelog Changelog
Version | Description |
---|---|
?? | Introduced. |