Filters the number of redirects allowed during an HTTP request.
$redirect_countint
$urlstring
'redirection' => apply_filters( 'http_request_redirection_count', 5, $url ),
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/http_request_redirection_count