Description
Filters the number of redirects allowed during an HTTP request.
Occurrences
Filename | Line Number |
---|---|
wp-includes/class-wp-http.php | 173 |
Parameters
Type | Name | Description |
---|---|---|
int | $redirect_count | Number of redirects allowed. Default 5. |
string | $url | The request URL. |
PHP Doc
/**
* Filters the number of redirects allowed during an HTTP request.
*
* @since 2.7.0
* @since 5.1.0 The `$url` parameter was added.
*
* @param int $redirect_count Number of redirects allowed. Default 5.
* @param string $url The request URL.
*/