Browse: Home / Functions /

learndash_user_progress_get_next_incomplete_step

learndash_user_progress_get_next_incomplete_step( integer $user_id,  integer $course_id,  integer $step_id )

Utility function to get the next incomplete course step for user.


Description #


Parameters #

$user_id

(integer) (Required) User ID.

$course_id

(integer) (Required) Course ID.

$step_id

(integer) (Required) Course Step ID.


Return #

(integer|false) The next incomplete step id or false if none found.


Source #

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


Changelog #

Changelog
Version Description
4.2.0 Introduced.