learndash_set_primary_course_for_step learndash_set_primary_course_for_step( integer $step_id, integer $course_id ) Set primary course_id for course step. ContentsDescription Parameters Source Changelog Related Namespace @package Uses Used By Description # Parameters # $step_id (integer) (Required) Course step post ID. $course_id (integer) (Required) Course ID. Source # File: includes/course/ld-course-steps-functions.php Changelog # Changelog Version Description 3.2.0 Introduced. Related # Namespace # global @package # LearnDash / Course_Steps Uses # Uses Uses Description includes/settings/settings-functions.php: learndash_update_setting () Updates the LearnDash setting for a post. includes/course/ld-course-steps-functions.php: learndash_get_courses_for_step () Gets the list of courses associated with a step. Used By # Used By Used By Description includes/course/ld-course-steps-functions.php: learndash_check_primary_course_for_step () Check the Course Step primary Course ID. includes/admin/classes-posts-edits/class-learndash-admin-lesson-edit.php: Learndash_Admin_Lesson_Edit::save_post () Save metabox handler function. includes/admin/classes-posts-edits/class-learndash-admin-quiz-edit.php: Learndash_Admin_Quiz_Edit::save_post () Save metabox handler function. includes/admin/classes-posts-edits/class-learndash-admin-topic-edit.php: Learndash_Admin_Topic_Edit::save_post () Save metabox handler function.
Uses # Uses Uses Description includes/settings/settings-functions.php: learndash_update_setting () Updates the LearnDash setting for a post. includes/course/ld-course-steps-functions.php: learndash_get_courses_for_step () Gets the list of courses associated with a step.
Used By # Used By Used By Description includes/course/ld-course-steps-functions.php: learndash_check_primary_course_for_step () Check the Course Step primary Course ID. includes/admin/classes-posts-edits/class-learndash-admin-lesson-edit.php: Learndash_Admin_Lesson_Edit::save_post () Save metabox handler function. includes/admin/classes-posts-edits/class-learndash-admin-quiz-edit.php: Learndash_Admin_Quiz_Edit::save_post () Save metabox handler function. includes/admin/classes-posts-edits/class-learndash-admin-topic-edit.php: Learndash_Admin_Topic_Edit::save_post () Save metabox handler function.