Browse: Home / Functions /

learndash_user_progress_get_first_incomplete_step

learndash_user_progress_get_first_incomplete_step( integer $user_id,  integer $course_id )

Utility function to get first incomplete course step for user.


Description #


Parameters #

$user_id

(integer) (Required) User ID.

$course_id

(integer) (Required) Course ID.


Return #

(array) Array of incomplete course step IDs.


Source #

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


Changelog #

Changelog
Version Description
3.4.0 Introduced.