A WordPress-centric search engine for devs and theme authors



http_request_redirection_count ›

Since5.0.0
Deprecatedn/a
apply_filters( 'http_request_redirection_count', 5, $url )
Parameters: (2)
  • (int) $redirect_count Number of redirects allowed. Default 5.
    Required: Yes
  • (string) $url The request URL.
    Required: Yes
Defined at:
Codex:

Filters the number of redirects allowed during an HTTP request.





Source

'redirection'         => apply_filters( 'http_request_redirection_count', 5, $url ),