wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



pre_http_send_through_proxy › Filtr WordPress Hooks

Od3.5.0
Przestarzałyn/a
apply_filters( 'pre_http_send_through_proxy', null, $uri, $check, $home )
Parametry: (4)
  • (bool|null) $override Whether to send the request through the proxy. Default null.
    Wymagane: Tak
  • (string) $uri URL of the request.
    Wymagane: Tak
  • (array) $check Associative array result of parsing the request URL with `parse_url()`.
    Wymagane: Tak
  • (array) $home Associative array result of parsing the site URL with `parse_url()`.
    Wymagane: Tak
Zdefiniowane na:
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.



Powiązane Funkcje: wp_http_supports, _http_build_query


Źródło

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