allowed_http_request_hosts

Advertisement

Summery Summery

Whitelists allowed redirect hosts for safe HTTP requests as well.

Syntax Syntax

allowed_http_request_hosts( bool $is_external, string $host )

Description Description

Attached to the ‘http_request_host_is_external’ filter.

Parameters Parameters

$is_external

(Required)

$host

(Required)

Return Return

(bool)

Source Source

File: wp-includes/http.php

		$is_external = true;
	}
	return $is_external;
}

/**

Advertisement

Changelog Changelog

Changelog
Version Description
3.6.0 Introduced.

Advertisement

Leave a Reply