Browse: Home / Hooks /

ld_course_list

apply_filters( 'ld_course_list',  string $output,  array $atts,  array $filter )

Filters HTML output of category dropdown.


Description #


Parameters #

$output

(string) HTML output of category dropdown.

$atts

(array) Shortcode attributes.

$filter

(array) Arguments to retrieve posts.


Source #

File: includes/shortcodes/ld_course_list.php


Examples #

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

 <?php
/**
 * Example usage for ld_course_list filter.
 */
add_filter(
	'ld_course_list',
	function( $output, $atts, $filter ) {
		// May add any custom logic using $output, $atts, $filter.

		// Always return $output.
		return $output;
	},
	10,
	3
);
 

Changelog #

Changelog
Version Description
2.1.0 Introduced.