Browse: Home / Functions /


learndash_user_progress_get_parent_incomplete_step( int $user_id,  int $course_id,  int $step_id )

Get the parent incomplete step.

Description #

This utility function will check parent steps status to ensure video progress or other requirements are met before allowing access to the step.

Parameters #


(int) (Required) User ID.


(int) (Required) Course ID.


(int) (Required) Course Step ID.

Return #

(int) Adjusted Course Step ID.

Source #

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

Changelog #

Version Description
4.2.1 Introduced.