Description
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.
Occurrences
Filename | Line Number |
---|---|
wp-includes/class-wp-http-proxy.php | 194 |
Parameters
Type | Name | Description |
---|---|---|
bool|null | $override | Whether to send the request through the proxy. Default null. |
string | $uri | URL of the request. |
array | $check | Associative array result of parsing the request URL with `parse_url()`. |
array | $home | Associative array result of parsing the site URL with `parse_url()`. |
PHP Doc
/**
* 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.
*
* @since 3.5.0
*
* @param bool|null $override Whether to send the request through the proxy. Default null.
* @param string $uri URL of the request.
* @param array $check Associative array result of parsing the request URL with `parse_url()`.
* @param array $home Associative array result of parsing the site URL with `parse_url()`.
*/