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

Check if HTTP request is external or not.


Description Description

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


Parameters Parameters

(bool) false Whether HTTP request is external or not.

$host

(string) IP of the requested host.

$url

(string) URL of the requested host.


Top ↑

Source Source

File: wp-includes/http.php

View on Trac


Top ↑

Changelog Changelog

Changelog
Version Description
3.6.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.