Browse: Home / Hooks /

ld-lesson-table-class

apply_filters( 'ld-lesson-table-class',  string $table_class )

Filters lesson listing table CSS class.


Description #


Parameters #

$table_class

(string) Lesson table CSS class list.


Source #

File: themes/ld30/templates/lesson/listing.php


Examples #

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

 <?php
/**
 * Example usage for ld-lesson-table-class filter.
 */
add_filter(
	'ld-lesson-table-class',
	function( $table_class ) {
		// May add any custom logic using $table_class.

		// Always return $table_class.
		return $table_class;
	}
);
 

Changelog #

Changelog
Version Description
3.0.0 Introduced.