Core Function
View Source on Trac ↗ ms_allowed_http_request_hosts()
ms_allowed_http_request_hosts( mixed $is_external, mixed $host ) Adds any domain in a multisite installation for safe HTTP requests to the
Parameters 2 required
| Name / Type | Description |
|---|---|
| bool | $is_external Required |
| string | $host Required |
Return Value
(bool)
bool
Function Information
Since Version
3.6.0
Source File
wp-includes/http.php
Advertisement