LDLMS_Model_User_Course_Progress::set_progress( integer $course_id, array $progress = array() )
Set Progress steps.
Contents
Description #
Parameters #
- $course_id
-
(integer) (Required) Course ID of progress to update.
- $progress
-
(array) (Optional) Array of user progress. Array structure should match the 'legacy' format.
Default value: array()
Source #
File: includes/classes/class-ldlms-model-user-course-progress.php
Changelog #
Version | Description |
---|---|
3.4.0 | Introduced. |