This function has been deprecated. Use learndash_get_course_steps_count instead.
learndash_get_course_steps_count_legacy( int $course_id )
LEGACY: Gets the total count of lessons and topics for a given course ID.
Description #
Replaced by learndash_get_course_steps_count in 3.4.0.
Parameters #
- $course_id
-
(int) (Optional) The ID of the course. Default 0.
Return #
(int) The count of the course steps.
Source #
Changelog #
| Version | Description |
|---|---|
| 5.0.0 | Use learndash_get_course_steps_count instead. |
| 2.3.0 | Introduced. This function has been deprecated. Use learndash_get_course_steps_count instead. |