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



block_local_requests › Filtr WordPress Hooks

Od2.8.0
Przestarzałyn/a
apply_filters( 'block_local_requests', false )
Parametry:
  • (bool) $block Whether to block local requests. Default false.
    Wymagane: Tak
Zdefiniowane na:
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.





Źródło

return apply_filters( 'block_local_requests', false );