learndash_lesson_row_class( int|WP_Post $lesson = null, int $has_access = false )

Ouputs lesson row CSS class.


Description Description

Filterable string of class names populated based on lesson status and attributes.


Parameters Parameters

$lesson

(Optional) Lesson WP_Post object or post ID. Default to global $post.

Default value: null

$has_access

(Optional) Whether the lesson is accessible or not.

Default value: false


Top ↑

Return Return

(string|void) Lesson row CSS class names.


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.