apply_filters( 'learndash_lesson_row_atts', string $attribute )
Filters lesson row attributes. Used while displaying lesson lists in a course.
Description #
Parameters #
- $attribute
-
(string) Lesson row attribute.
Return #
(string)
Source #
Examples #
Note: Extended code example below not guaranteed, you may need to consult with a developer
<?php /** * Example usage for learndash_lesson_row_atts filter. */ add_filter( 'learndash_lesson_row_atts', function( $attribute ) { // May add any custom logic using $attribute. // Always return $attribute. return $attribute; } );
Changelog #
Version | Description |
---|---|
4.21.3 | No longer used to set a tooltip message. |
3.0.0 | Introduced. |