wpseek.com
A WordPress-centric search engine for devs and theme authors



rest_prepare_url_details › WordPress Filter Hooks

Since5.9.0
Deprecatedn/a
apply_filters( 'rest_prepare_url_details', $response, $url, $request, $remote_url_response )
Parameters: (4)
  • (WP_REST_Response) $response The response object.
    Required: Yes
  • (string) $url The requested URL.
    Required: Yes
  • (WP_REST_Request) $request Request object.
    Required: Yes
  • (string) $remote_url_response HTTP response body from the remote URL.
    Required: Yes
Defined at:
Codex:

Filters the URL data for the response.





Source

return apply_filters( 'rest_prepare_url_details', $response, $url, $request, $remote_url_response );