WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about rest_user_collection_params

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php apply_filters 1614 /**
* Filters REST API collection parameters for the users controller.
*
* This filter registers the collection parameter, but does not map the
* collection parameter to an internal WP_User_Query parameter. Use the
* `rest_user_query` filter to set WP_User_Query arguments.
*
* @since 4.7.0
*
* @param array $query_params JSON Schema-formatted collection parameters.
*/

Hook Parameters

Parameter Type Name Description
array $query_params JSON Schema-formatted collection parameters.