wpseek.com
A WordPress-centric search engine for devs and theme authors



http_request_timeout › WordPress Filter Hooks

Since5.1.0
Deprecatedn/a
apply_filters( 'http_request_timeout', 5, $url )
Parameters: (2)
  • (float) $timeout_value Time in seconds until a request times out. Default 5.
    Required: Yes
  • (string) $url The request URL.
    Required: Yes
Defined at:
Codex:

Filters the timeout value for an HTTP request.





Source

'timeout'             => apply_filters( 'http_request_timeout', 5, $url ),