ld-course-status-segment-class

apply_filters( 'ld-course-status-segment-class',  string $segment_class )

Filters infobar course status segment CSS class.


Description #


Parameters #

$segment_class

(string) The List of course segment CSS class.


Source #

File: themes/ld30/templates/modules/infobar/course.php


Examples #

 <?php
/**
 * Example usage for ld-course-status-segment-class filter.
 */
add_filter(
	'ld-course-status-segment-class',
	function( $segment_class ) {
		// May add any custom logic using $segment_class.

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