Browse: Home / Hooks /


apply_filters( 'learndash-course-list-shortcode-course-class',  string $course_class )

Filters course list shortcode course CSS class. Used to add CSS class to the wrapper of each course item

Description #

Parameters #


(string) Course item CSS class

Source #

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

Examples #

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

 * Example usage for learndash-course-list-shortcode-course-class filter.
	function( $course_class ) {
		// May add any custom logic using $course_class.

		// Always return $course_class.
		return $course_class;

Changelog #

Version Description
3.0.0 Introduced.