learndash_get_report_user_ids

apply_filters( 'learndash_get_report_user_ids',  array|null $report_user_ids )

Filters list of get report user ids.


Description #


Parameters #

$report_user_ids

(array|null) An array of report user ids.


Source #

File: includes/ld-reports.php


Examples #

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

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