Browse: Home / Functions /

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.


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.