Browse: Home / Hooks /


apply_filters( 'learndash_lesson_row_atts',  string $attribute )

Filters lesson row attributes. Used while displaying lesson lists in a course.

Description #

Parameters #


(string) Lesson row attribute. The value is data-ld-tooltip if a user does not have access to the course otherwise an empty string.

Source #

File: themes/ld30/templates/lesson/partials/row.php

Examples #

Note: Extended code example below not guaranteed, you may need to consult with a developer

 * Example usage for learndash_lesson_row_atts filter.
	function( $attribute ) {
		// May add any custom logic using $attribute.

		// Always return $attribute.
		return $attribute;

Changelog #

Version Description
3.0.0 Introduced.