wpseek.com
A WordPress-centric search engine for devs and theme authors
block_local_requests › WordPress Filter Hooks
Since2.8.0
Deprecatedn/a
› apply_filters( 'block_local_requests', false )
Parameters: |
|
Defined at: |
|
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.
Related Functions: block_core_gallery_render, rest_do_request, _wp_add_block_level_preset_styles, block_core_list_render, render_block_core_query, render_block_core_query_no_results
Related Hooks: cron_request, do_parse_request, block_categories_all, parse_request, block_parser_class