apply_filters( 'learndash_get_report_users_query_args', array $query_args )
Filters the query arguments for getting users for the report.
Description #
Parameters #
- $query_args
-
(array) 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_get_report_users_query_args filter.
*/
add_filter(
'learndash_get_report_users_query_args',
function( $query_args ) {
// May add any custom logic using $query_args.
// Always return $query_args.
return $query_args;
}
);