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


Top ↑

Return Return

(array) Attributes including label, icon and class name.


Top ↑

Source Source

File: themes/ld30/includes/helpers.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.