Browse: Home / Hooks /


apply_filters( 'learndash_ld_course_list_shortcode_defaults',  array $shortcode_default )

Filters course list shortcode attribute defaults.

Description #

Parameters #


(array) An array of default shortcode attributes.

Source #

File: includes/class-ld-lms.php

Examples #

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

 * Example usage for learndash_ld_course_list_shortcode_defaults filter.
	function( $shortcode_default ) {
		// May add any custom logic using $shortcode_default.

		// Always return $shortcode_default.
		return $shortcode_default;