Filters the URL data for the response.
Parameters
$response
WP_REST_Response- The response object.
$url
string- The requested URL.
$request
WP_REST_Request- Request object.
$remote_url_response
string- HTTP response body from the remote URL.
Source
return apply_filters( 'rest_prepare_url_details', $response, $url, $request, $remote_url_response );
Changelog
Version | Description |
---|---|
5.9.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.