LLMS_Student::get_progress( int $object_id, string $type = 'course', boolean $use_cache = true )
Get students progress through a course or track
Description Description
Parameters Parameters
- $object_id
-
(Required) course or track id
- $type
-
(Optional) object type [course|course_track|section]
Default value: 'course'
- $use_cache
-
(Optional) if true, will use cached data from the usermeta table (if available) if false, will bypass cached data and recalculate the progress from scratch
Default value: true
Return Return
(float)
Source Source
File: includes/models/model.llms.student.php
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |