wpseek.com
A WordPress-centric search engine for devs and theme authors



pre_http_send_through_proxy › WordPress Filter Hooks

Since3.5.0
Deprecatedn/a
apply_filters( 'pre_http_send_through_proxy', null, $uri, $check, $home )
Parameters: (4)
  • (bool|null) $override Whether to send the request through the proxy. Default null.
    Required: Yes
  • (string) $uri URL of the request.
    Required: Yes
  • (array) $check Associative array result of parsing the request URL with `parse_url()`.
    Required: Yes
  • (array) $home Associative array result of parsing the site URL with `parse_url()`.
    Required: Yes
Defined at:
Codex:

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.





Source

$result = apply_filters( 'pre_http_send_through_proxy', null, $uri, $check, $home );