Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/class-wp-http-proxy.php | apply_filters | 194 | /** * 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()`. */ |
Hook Parameters
Parameter 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()`. |