pre_http_send_through_proxy

Advertisement

Summery Summery

Filters whether to preempt sending the request through the proxy.

Syntax Syntax

apply_filters( 'pre_http_send_through_proxy', bool|null $override, string $uri, array $check, array $home )

Description Description

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

Parameters Parameters

$override

Whether to send the request through the proxy. Default null.

$uri

URL of the request.

$check

Associative array result of parsing the request URL with parse_url().

$home

Associative array result of parsing the site URL with parse_url().

Source Source

File: wp-includes/class-wp-http-proxy.php

Advertisement

Changelog Changelog

Changelog
Version Description
3.5.0 Introduced.

Advertisement

Leave a Reply