Checks if HTTP request is external or not.
Allows to change and allow external requests for the HTTP request.
$externalbool
$hoststring
$urlstring
if ( ! apply_filters( 'http_request_host_is_external', false, $host, $url ) ) {
| Version | Description |
|---|---|
| 3.6.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/http_request_host_is_external