apply_filters( 'learndash-lesson-row-attributes', boolean $show_row_attributes )
Filters whether to show lesson row attributes in lesson listing.
Description #
Parameters #
- $show_row_attributes
-
(boolean) Whether to show lesson row attributes.
Return #
(boolean)
Source #
Examples #
Note: Extended code example below not guaranteed, you may need to consult with a developer
<?php
/**
* Example usage for learndash-lesson-row-attributes filter.
*/
add_filter(
'learndash-lesson-row-attributes',
function( $show_row_attributes ) {
// May add any custom logic using $show_row_attributes.
// Always return $show_row_attributes.
return $show_row_attributes;
}
);
Changelog #
| Version | Description |
|---|---|
| 3.0.0 | Introduced. |