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()


Top ↑

Return Return

(array)


Top ↑

Source Source

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

	public function get_courses( $args = array() ) {

		return $this->get_enrollments( 'course', $args );

	}


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.