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 #
- $user_id
-
(int) (Required) User ID.
- $course_id
-
(int) (Required) Course ID.
- $step_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. |