learndash_get_course_steps_count learndash_get_course_steps_count( int $course_id ) Gets the total count of lessons and topics for a given course ID. ContentsDescription Parameters Return Source Changelog Related Namespace @package Uses Used By Description # Parameters # $course_id (int) (Optional) The ID of the course. Default 0. Return # (int) The count of the course steps. Source # File: includes/course/ld-course-steps-functions.php Changelog # Changelog Version Description 5.0.0 Removed the option to use learndash_get_course_steps_count_legacy. 2.3.0 Introduced. Related # Namespace # global @package # LearnDash / Course_Steps Uses # Uses Uses Description includes/course/ld-course-steps-functions.php: learndash_course_get_steps_count () Get the Course Steps Count. Used By # Used By Used By Description includes/course-grid/includes/functions.php: learndash_course_grid_prepare_template_post_attributes () Prepares post attributes for the course grid template. includes/deprecated/5.0.0/functions.php: learndash_process_mark_complete_legacy () LEGACY: Updates the user meta with completion status for any resource. includes/deprecated/5.0.0/functions.php: learndash_course_status_legacy () LEGACY: Outputs the current status of the course. includes/course/ld-course-progress.php: learndash_process_mark_complete () Updates the user meta with completion status for any resource. includes/admin/classes-data-reports-actions/class-learndash-admin-data-reports-user-courses.php: Learndash_Admin_Data_Reports_Courses::report_column () Handles display formatting of report column value.
Uses # Uses Uses Description includes/course/ld-course-steps-functions.php: learndash_course_get_steps_count () Get the Course Steps Count.
Used By # Used By Used By Description includes/course-grid/includes/functions.php: learndash_course_grid_prepare_template_post_attributes () Prepares post attributes for the course grid template. includes/deprecated/5.0.0/functions.php: learndash_process_mark_complete_legacy () LEGACY: Updates the user meta with completion status for any resource. includes/deprecated/5.0.0/functions.php: learndash_course_status_legacy () LEGACY: Outputs the current status of the course. includes/course/ld-course-progress.php: learndash_process_mark_complete () Updates the user meta with completion status for any resource. includes/admin/classes-data-reports-actions/class-learndash-admin-data-reports-user-courses.php: Learndash_Admin_Data_Reports_Courses::report_column () Handles display formatting of report column value.