WordPress at a glance
filter is not described

rest_user_collection_params filter-hook . WP 4.7.0

Filter 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.


add_filter( 'rest_user_collection_params', 'filter_function_name_7089' );
function filter_function_name_7089( $query_params ){
	// filter...

	return $query_params;
JSON Schema-formatted collection parameters.

Where the hook is called

wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php 1414
return apply_filters( 'rest_user_collection_params', $query_params );

Where the hook is used (in WP core)

Does not used.