Browse: Home / Classes / LDLMS_Model_User_Course_Progress /

LDLMS_Model_User_Course_Progress::set_progress

LDLMS_Model_User_Course_Progress::set_progress( integer $course_id,  array $progress = array() )

Set Progress steps.


Description #


Parameters #

$course_id

(integer) (Required) Course ID of progress to update.

$progress

(array) (Optional) Array of user progress. Array structure shold match the 'legacy' format.

Default value: array()


Source #

File: includes/classes/class-ldlms-model-user-course-progress.php


Changelog #

Changelog
Version Description
3.4.0 Introduced.