Used By
Used By | Description |
---|---|
wp-includes/class-http.php: WP_Http::block_request() | Determines whether an HTTP API request to the given URL should be blocked. |
Filters whether to block local HTTP API requests.
A local request is one to localhost
or to the same host as the site itself.
(bool) Whether to block local requests. Default false.
Version | Description |
---|---|
2.8.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/block_local_requests