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

Filters whether to preempt sending the request through the proxy.


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

(bool|null) Whether to override the request result. Default null.

$uri

(string) URL to check.

$check

(array) Associative array result of parsing the request URI.

$home

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


Top ↑

Source Source

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

View on Trac


Top ↑

Changelog Changelog

Changelog
Version Description
3.5.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.