learndash_courses_count_args

apply_filters( 'learndash_courses_count_args',  array $query_args )

Filters courses count query arguments.


Description #


Parameters #

$query_args

(array) An array of course count query arguments.


Source #

File: includes/ld-reports.php


Examples #

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

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