This function has been deprecated. Use learndash_get_course_step_attributes instead.
learndash_get_lesson_attributes( array $lesson = null )
Gets the Lesson attributes.
Description #
Populates an array of attributes about a lesson, if it’s a sample or if it isn’t currently available
Parameters #
- $lesson
-
(array) (Optional) Lesson details array.
Default value: null
Return #
(array) Attributes including label, icon and class name.
Source #
Changelog #
| Version | Description |
|---|---|
| 5.0.0 | Use learndash_get_course_step_attributes instead. |
| 3.0.0 | Introduced. This function has been deprecated. Use learndash_get_course_step_attributes instead. |