Browse: Home / Hooks /

learndash_user_status_course_components

apply_filters( 'learndash_user_status_course_components',  array $components )

Filters user status course components.


Description #


Parameters #

$components

(array) An Array of user status components.


Source #

File: themes/ld30/templates/shortcodes/user-status/course-row.php


Examples #

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

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

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

Changelog #

Changelog
Version Description
3.0.0 Introduced.