Un motore di ricerca WordPress per sviluppatori e autori di temi



block_local_requests ›

Da2.8.0
Deprecaton/a
apply_filters( 'block_local_requests', false )
Parametri:
  • (bool) $block Whether to block local requests. Default false.
    Richiesto:
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 );