apply_filters( 'learndash_students_enrolled_count_qrgs', array $query_args )
Filters students enrolled count query arguments.
Description #
Parameters #
- $query_args
-
(array) An array of students enrolled count query arguments.
Source #
File: includes/ld-reports.php
Examples #
Note: Extended code example below not guaranteed, you may need to consult with a developer
<?php
/**
* Example usage for learndash_students_enrolled_count_qrgs filter.
*/
add_filter(
'learndash_students_enrolled_count_qrgs',
function( $query_args ) {
// May add any custom logic using $query_args.
// Always return $query_args.
return $query_args;
}
);