http_request_host_is_external

Advertisement

Summery Summery

Check if HTTP request is external or not.

Syntax Syntax

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

Description Description

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

Parameters Parameters

$external

(bool) Whether HTTP request is external or not.

$host

(string) Host name of the requested URL.

$url

(string) Requested URL.

Source Source

File: wp-includes/http.php

Advertisement

Changelog Changelog

Changelog
Version Description
3.6.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.