http_request_timeout

http_request_timeout

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('http_request_timeout') is found 1 times:

  • /wp-includes/class-wp-http.php line 176
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    *
     * @param float  $timeout_value Time in seconds until a request times out. Default 5.
     * @param string $url           The request URL.
     */
    'timeout'             => apply_filters( 'http_request_timeout', 5, $url ),
    /**
     * Filters the number of redirects allowed during an HTTP request.
     *
     * @since 2.7.0
     * @since 5.1.0 The `$url` parameter was added.
     *

See this hook used in plugins: