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



block_local_requests › WordPress Filter Hooks

Da2.8.0
Deprecaton/a
› apply_filters( 'block_local_requests', false )
Parametri:
  • () block Whether to block local requests. Default false.
    Richiesto: Sì
Definito a:
Codex:

Filters whether to block local HTTP API requests.

A local request is one to `localhost` or to the same host as the site itself.




Sorgenti

return apply_filters( 'block_local_requests', false );