Description
Filters the version of the HTTP protocol used in a request.
Occurrences
Filename | Line Number |
---|---|
wp-includes/class-wp-http.php | 183 |
Parameters
Type | Name | Description |
---|---|---|
string | $version | Version of HTTP used. Accepts '1.0' and '1.1'. Default '1.0'. |
string | $url | The request URL. |
PHP Doc
/**
* 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.
*/