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 server.

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


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

	return $override;
Whether to override the request result.
Default: null
URL to check.
Associative array result of parsing the URI.
Associative array result of parsing the site URL.


Since 3.5.0 Introduced.

Where the hook is called

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

Where the hook is used (in WP core)

Usage not found!