ms_allowed_http_request_hosts

Advertisement

Summery Summery

Whitelists any domain in a multisite installation for safe HTTP requests.

Syntax Syntax

ms_allowed_http_request_hosts( bool $is_external, string $host )

Description Description

Attached to the ‘http_request_host_is_external’ filter.

Parameters Parameters

$is_external

(bool) (Required)

$host

(string) (Required)

Return Return

(bool)

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.