wpc_get_single_course_progress_list( int $course_id, int $user_id)

wpc_get_single_course_progress_list( $course_id, $user_id )

Returns a formatted list of all lessons, quizzes and modules attached to a single course.

Parameters

$course_id (int) the course ID

$user_id (int) user ID

Return

(string) List of all lessons connected to the course you passed

Usage