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



pre_http_send_through_proxy › Hooks de Filtros WordPress

Desde3.5.0
Obsoleton/a
› apply_filters( 'pre_http_send_through_proxy', null, $uri, $check, $home )
Parâmetros: (4)
  • () override Whether to send the request through the proxy. Default null.
    Required: Yes
  • () uri URL of the request.
    Required: Yes
  • () check Associative array result of parsing the request URL with `parse_url()`.
    Required: Yes
  • () home Associative array result of parsing the site URL with `parse_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 );