learndash_course_get_all_parent_step_ids learndash_course_get_all_parent_step_ids( int $course_id, int $step_id ) Gets the parent step IDs for a step in a course. ContentsDescription Parameters Return Source Changelog Related Namespace @package Uses Used By Description # Parameters # $course_id (int) (Optional) The ID of the course. Default 0. $step_id (int) (Optional) The ID of the step to get parent steps. Default 0. Return # (array) An array of step IDs. Source # File: includes/course/ld-course-steps-functions.php Changelog # Changelog Version Description 2.5.0 Introduced. Related # Namespace # global @package # LearnDash / Course_Steps Uses # Uses Uses Description includes/course/ld-course-functions.php: learndash_is_course_builder_enabled () Utility function to check if Course Builder is enabled. includes/classes/class-ldlms-factory-post.php: LDLMS_Factory_Post::course_steps () Get a Course Steps. Used By # Used By Used By Description includes/classes/class-ldlms-model-user-course-progress.php: learndash_user_progress_get_parent_incomplete_step () Get the parent incomplete step. includes/classes/class-ldlms-model-course.php: LDLMS_Model_Course::get_quizzes () Get Quizzes includes/classes/class-ldlms-model-user-course-progress.php: learndash_user_progress_get_previous_incomplete_step () Utility function to get the previous incomplete course step for user. themes/ld30/includes/helpers.php: learndash_get_breadcrumbs () Gets the breadcrumbs hierarchy. includes/ld-misc-functions.php: learndash_body_classes () Adds custom classes to the body. includes/class-ld-permalinks.php: LearnDash_Permalinks::post_type_link () This second filter will correct calls to the WordPress get_permalink() function to use the new structure includes/course/ld-course-functions.php: learndash_process_lesson_topics_pager () Processes the lesson topics pagination. includes/course/ld-course-steps-functions.php: learndash_check_course_step () Validates the URL requests when nested URL permalinks are used. includes/course/ld-course-progress.php: learndash_process_mark_incomplete () Marks a course step incomplete for a course.
Uses # Uses Uses Description includes/course/ld-course-functions.php: learndash_is_course_builder_enabled () Utility function to check if Course Builder is enabled. includes/classes/class-ldlms-factory-post.php: LDLMS_Factory_Post::course_steps () Get a Course Steps.
Used By # Used By Used By Description includes/classes/class-ldlms-model-user-course-progress.php: learndash_user_progress_get_parent_incomplete_step () Get the parent incomplete step. includes/classes/class-ldlms-model-course.php: LDLMS_Model_Course::get_quizzes () Get Quizzes includes/classes/class-ldlms-model-user-course-progress.php: learndash_user_progress_get_previous_incomplete_step () Utility function to get the previous incomplete course step for user. themes/ld30/includes/helpers.php: learndash_get_breadcrumbs () Gets the breadcrumbs hierarchy. includes/ld-misc-functions.php: learndash_body_classes () Adds custom classes to the body. includes/class-ld-permalinks.php: LearnDash_Permalinks::post_type_link () This second filter will correct calls to the WordPress get_permalink() function to use the new structure includes/course/ld-course-functions.php: learndash_process_lesson_topics_pager () Processes the lesson topics pagination. includes/course/ld-course-steps-functions.php: learndash_check_course_step () Validates the URL requests when nested URL permalinks are used. includes/course/ld-course-progress.php: learndash_process_mark_incomplete () Marks a course step incomplete for a course.