allowed_http_request_hosts()函数是Wordpress函数,白名单还允许为安全的HTTP请求重定向主机。
allowed_http_request_hosts( bool $is_external, string $host )
说明(Description)
附加到“http_request_host_is_external”筛选器。
参数(Parameters)
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| $is_external | (bool) | 必需 | |
| $host | (string) | 必需 |
返回(Return)
(bool)
源码(Source)
//暂无
| 更新版本 | 源码位置 | 使用 | 被使用 |
|---|---|---|---|
| 3.6.0 | wp-includes/http.php:608 | 0 | 1 function |





















