apply_filters( 'http_request_host_is_external', bool , string $host, string $url )

Check if HTTP request is external or not.


Description

Allows to change and allow external requests for the HTTP request.


Parameters

false Whether HTTP request is external or not.

$host

IP of the requested host.

$url

URL of the requested host.


Source

File: wp-includes/http.php

View on GitHub



Changelog

Changelog
Version Description
WP-3.6.0 Introduced.