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