rest_prepare_user – filter

Filters user data returned from the REST API. 

Parameters

.
( 4.7.0 ) . .
$response
( WP_REST_Response ) The response object. . . .
( WP_User ) $user User object used to create response. . . .
( WP_REST_Request ) $request Request object. . . .
API Letters: ,,

Implementers