Filter hook 'http_request_host_is_external'

in WP Core File wp-includes/http.php at line 614

Description

Checks if HTTP request is external or not. Allows to change and allow external requests for the HTTP request.

Occurrences

Filename Line Number
wp-includes/http.php 614

Parameters

Type Name Description
bool $external Whether HTTP request is external or not.
string $host Host name of the requested URL.
string $url Requested URL.

PHP Doc

/**
				 * Checks if HTTP request is external or not.
				 *
				 * Allows to change and allow external requests for the HTTP request.
				 *
				 * @since 3.6.0
				 *
				 * @param bool   $external Whether HTTP request is external or not.
				 * @param string $host     Host name of the requested URL.
				 * @param string $url      Requested URL.
				 */