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 #

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

		// Always return $attribute.
		return $attribute;