A WordPress-centric search engine for devs and theme authors



http_request_timeout ›

Since5.0.0
Deprecatedn/a
apply_filters( 'http_request_timeout', 5, $url )
Parameters: (2)
  • (int) $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 ),