wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



http_request_host_is_external › WordPress Filter Hooks

Da3.6.0
Deprecaton/a
apply_filters( 'http_request_host_is_external', false, $host, $url )
Parametri: (3)
  • (bool) $external Whether HTTP request is external or not.
    Richiesto:
  • (string) $host Host name of the requested URL.
    Richiesto:
  • (string) $url Requested URL.
    Richiesto:
Definito a:
Codex:

Check if HTTP request is external or not.

Allows to change and allow external requests for the HTTP request.





Sorgenti

if ( ! apply_filters( 'http_request_host_is_external', false, $host, $url ) ) {