LLMS_Student::get_courses( array $args = array() )
Retrieve IDs of user’s courses based on supplied criteria
Parameters Parameters
- $args
-
(array) (Optional) see
get_enrollments
Default value: array()
Return Return
(array)
Source Source
File: includes/models/model.llms.student.php
*/ public function get_courses( $args = array() ) { return $this->get_enrollments( 'course', $args );
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |