Browse: Home / Functions /

learndash_get_lesson_attributes

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 #

File: themes/ld30/includes/helpers.php


Changelog #

Changelog
Version Description
3.0.0 Introduced.