A WordPress-centric search engine for devs and theme authors



http_response ›

Since2.9.0
Deprecatedn/a
apply_filters( 'http_response', $response, $r, $url )
Parameters: (3)
  • (array) $response HTTP response.
    Required: Yes
  • (array) $r HTTP request arguments.
    Required: Yes
  • (string) $url The request URL.
    Required: Yes
Defined at:
Codex:

Filters the HTTP API response immediately before the response is returned.





Source

return apply_filters( 'http_response', $response, $r, $url );