learndash_user_set_course_progress( integer $user_id, integer $course_id, array $progress = array() )

Utility function to update a user’s course progress instance.


Description Description


Parameters Parameters

$user_id

(Required) User ID.

$course_id

(Required) Course ID.

$progress

(Optional) Array of single course user progress. Format of array should match 'legacy' structure.

Default value: array()


Top ↑

Source Source

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


			

Top ↑

Changelog Changelog

Changelog
Version Description
3.4.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.