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



http_request_version › WordPress Filter Hooks

Since5.1.0
Deprecatedn/a
apply_filters( 'http_request_version', '1.0', $url )
Parameters: (2)
  • (string) $version Version of HTTP used. Accepts '1.0' and '1.1'. Default '1.0'.
    Required: Yes
  • (string) $url The request URL.
    Required: Yes
Defined at:
Codex:

Filters the version of the HTTP protocol used in a request.





Source

'httpversion'         => apply_filters( 'http_request_version', '1.0', $url ),