Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-5.4.1

apply_filters('rest_prepare_user') is found 1 times:

  • /wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php line 1068
    		 * @param WP_REST_Response $response The response object.
    		 * @param WP_User          $user     User object used to create response.
    		 * @param WP_REST_Request  $request  Request object.
    		return apply_filters( 'rest_prepare_user', $response, $user, $request );
    	 * Prepares links for the user request.
    	 * @since 4.7.0

See this hook used in plugins: