learndash-lesson-row-attributes

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.


Source #

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


Examples #

 <?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;
	}
);