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.1

apply_filters('http_request_timeout') is found 1 times:

  • /wp-includes/class-wp-http.php line 176
    			 *
    			 * @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: