WordPress at a glance
filter is not described

pre_http_send_through_proxy filter-hook . WP 3.5.0

Filters whether to preempt sending the request through the proxy.

Returning false will bypass the proxy; returning true will send the request through the proxy. Returning null bypasses the filter.

Usage

add_filter( 'pre_http_send_through_proxy', 'filter_function_name_2912', 10, 4 );
function filter_function_name_2912( $override, $uri, $check, $home ){
	// filter...

	return $override;
}
$override(true|false|null)
Whether to send the request through the proxy.
Default: null
$uri(string)
URL of the request.
$check(array)
Associative array result of parsing the request URL with parse_url().
$home(array)
Associative array result of parsing the site URL with parse_url().

Changelog

Since 3.5.0 Introduced.

Where the hook is called

WP_HTTP_Proxy::send_through_proxy()
pre_http_send_through_proxy
wp-includes/class-wp-http-proxy.php 189
$result = apply_filters( 'pre_http_send_through_proxy', null, $uri, $check, $home );

Where in WP core the hook is used WordPress

Usage not found.