learndash_get_lesson_attributes( array $lesson = null )
Gets the Lesson attributes.
Description Description
Populates an array of attributes about a lesson, if it’s a sample or if it isn’t currently available
Parameters Parameters
- $lesson
-
(Optional) Lesson details array.
Default value: null
Return Return
(array) Attributes including label, icon and class name.
Source Source
File: themes/ld30/includes/helpers.php
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |