http_request_redirection_count

http_request_redirection_count

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.4.3

apply_filters('http_request_redirection_count') is found 1 times:

  • /wp-includes/class-wp-http.php line 172
    			 *
    			 * @param int    $redirect_count Number of redirects allowed. Default 5.
    			 * @param string $url            The request URL.
    			 */
    			'redirection'         => apply_filters( 'http_request_redirection_count', 5, $url ),
    			/**
    			 * Filters the version of the HTTP protocol used in a request.
    			 *
    			 * @since 2.7.0
    			 * @since 5.1.0 The `$url` parameter was added.
    			 *