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 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. includes/course/ld-course-functions-legacy.php: learndash_get_course_steps_count_legacy () LEGACY: Gets the total count of lessons and topics for a given course ID. Used By # Used By Used By Description src/Core/Models/Course.php: Course::get_total_steps_number () Returns the total number of steps. includes/course/ld-course-functions-legacy.php: learndash_process_mark_complete_legacy () LEGACY: Updates the user meta with completion status for any resource. includes/course/ld-course-functions-legacy.php: learndash_course_status_legacy () LEGACY: Outputs the current status of the course. includes/rest-api/v2/class-ld-rest-users-course-progress-controller.php: LD_REST_Users_Course_Progress_Controller_V2::get_user_course_progress_header () Get the user course progress header data. 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. includes/course/ld-course-functions-legacy.php: learndash_get_course_steps_count_legacy () LEGACY: Gets the total count of lessons and topics for a given course ID.
Used By # Used By Used By Description src/Core/Models/Course.php: Course::get_total_steps_number () Returns the total number of steps. includes/course/ld-course-functions-legacy.php: learndash_process_mark_complete_legacy () LEGACY: Updates the user meta with completion status for any resource. includes/course/ld-course-functions-legacy.php: learndash_course_status_legacy () LEGACY: Outputs the current status of the course. includes/rest-api/v2/class-ld-rest-users-course-progress-controller.php: LD_REST_Users_Course_Progress_Controller_V2::get_user_course_progress_header () Get the user course progress header data. 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.