apply_filters( 'pre_http_send_through_proxy', null $override , string $uri , array $check , array $home )
Filters whether to preempt sending the request through the proxy server.
Description
Returning false will bypass the proxy; returning true will send the request through the proxy. Returning null bypasses the filter.
Parameters
- $override
-
Whether to override the request result. Default null.
- $uri
-
URL to check.
- $check
-
Associative array result of parsing the URI.
- $home
-
Associative array result of parsing the site URL.
Source
Changelog
Version | Description |
---|---|
WP-3.5.0 | Introduced. |