Filters WP_User_Query arguments when querying users via the REST API.
Parameters
$prepared_args
array- Array of arguments for WP_User_Query.
$request
WP_REST_Request- The REST API request.
Source
$prepared_args = apply_filters( 'rest_user_query', $prepared_args, $request );
Changelog
Version | Description |
---|---|
4.7.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.