learndash_course_add_child_to_parent learndash_course_add_child_to_parent( int $course_id, int $child_id, int $parent_id ) Add a step as child of a parent. ContentsDescription Parameters Return Source Changelog Related Namespace @package Uses Used By Description # Parameters # $course_id (int) (Required) Course post ID. $child_id (int) (Required) Child post ID. $parent_id (int) (Required) Parent post ID. Return # (bool) True if successful, false otherwise. Source # File: includes/course/ld-course-steps-functions.php Changelog # Changelog Version Description 4.8.0 Introduced. Related # Namespace # global @package # LearnDash / Course_Steps Uses # Uses Uses Description includes/course/ld-course-functions.php: learndash_get_lesson_id () Gets the lesson ID of a resource. includes/classes/class-ldlms-factory-post.php: LDLMS_Factory_Post::course_steps () Returns course steps. Used By # Used By Used By Description src/Core/Modules/AI/Quiz_Creation/Repository.php: Repository::create_quiz () Create a quiz. src/Core/Modules/AI/Course_Outline.php: Course_Outline::process () Process parsed response.
Uses # Uses Uses Description includes/course/ld-course-functions.php: learndash_get_lesson_id () Gets the lesson ID of a resource. includes/classes/class-ldlms-factory-post.php: LDLMS_Factory_Post::course_steps () Returns course steps.
Used By # Used By Used By Description src/Core/Modules/AI/Quiz_Creation/Repository.php: Repository::create_quiz () Create a quiz. src/Core/Modules/AI/Course_Outline.php: Course_Outline::process () Process parsed response.