http_request_version

http_request_version

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('http_request_version') is found 1 times:

  • /wp-includes/class-wp-http.php line 196
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    *
     * @param string $version Version of HTTP used. Accepts '1.0' and '1.1'. Default '1.0'.
     * @param string $url     The request URL.
     */
    'httpversion'         => apply_filters( 'http_request_version', '1.0', $url ),
    /**
     * Filters the user agent value sent with an HTTP request.
     *
     * @since 2.7.0
     * @since 5.1.0 The `$url` parameter was added.
     *