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)
  • () external Whether HTTP request is external or not.
    Richiesto: Sì
  • () host Host name of the requested URL.
    Richiesto: Sì
  • () url Requested URL.
    Richiesto: Sì
Definito a:
Codex:

Checks 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 ) ) {