WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about http_request_version

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/class-wp-http.php apply_filters 182 /**
* Filters the version of the HTTP protocol used in a request.
*
* @since 2.7.0
* @since 5.1.0 The `$url` parameter was added.
*
* @param string $version Version of HTTP used. Accepts '1.0' and '1.1'. Default '1.0'.
* @param string $url The request URL.
*/

Hook Parameters

Parameter Type Name Description
string $version Version of HTTP used. Accepts '1.0' and '1.1'. Default '1.0'.
string $url The request URL.