learndash_user_get_course_progress( integer $user_id, integer $course_id,  $type = 'legacy' )

Utility function to get a user’s progress for a single course.


Description Description


Parameters Parameters

$user_id

(Required) User ID.

$course_id

(Required) Course ID.

$progress_type

(Required) Progress Type. Default 'legacy'. possible values 'legacy', 'co', 'summary'


Top ↑

Return Return

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


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.