Browse: Home / Functions /


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 #


(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 #

Version Description
3.0.0 Introduced.