Uma área de pesquisa sobre o WordPress para devs e autores do tema



pre_http_send_through_proxy ›

Desde3.5.0
Obsoleton/a
apply_filters( 'pre_http_send_through_proxy', null, $uri, $check, $home )
Parâmetros: (4)
  • (bool|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 request URI.
    Required: Yes
  • (array) $home Associative array result of parsing the site URL.
    Required: Yes
Definido em:
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.



Funções relacionadas: wp_http_supports, _http_build_query


Fonte

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