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_1968', 10, 4 );
function filter_function_name_1968( $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().

Список изменений

С версии 3.5.0 Введена.

Где вызывается хук

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 );

Где используется хук в ядре WordPress

Использование не найдено.