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 #

 <?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;
	}
);