learndash_get_primary_course_for_step learndash_get_primary_course_for_step( integer $step_id ) Get primary course_id for course step. ContentsDescription Parameters Return Source Changelog Related Namespace @package Uses Used By Description # Parameters # $step_id (integer) (Required) Course step post ID. Return # (integer) $course_id Primary Course ID if found. 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/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.
Uses # Uses Uses Description 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.