learndash_check_primary_course_for_step learndash_check_primary_course_for_step( int $step_id ) Check the Course Step primary Course ID. ContentsDescription Parameters Source Changelog Related Namespace @package Description # Parameters # $step_id (int) (Required) Course Step Post ID. Source # File: includes/course/ld-course-steps-functions.php Changelog # Changelog Version Description 3.2.3 Introduced. Related # Namespace # global @package # LearnDash / Course_Steps