A WordPress-centric search engine for devs and theme authors



pre_http_send_through_proxy ›

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

Filters whether to preempt sending the request through the proxy server.

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 );