allowed_http_request_hosts()
allowed_http_request_hosts( bool $is_external, string $…
allowed_http_request_hosts( bool $is_external, string $host )
白名单还允许为安全的HTTP请求重定向主机。
Whitelists allowed redirect hosts for safe HTTP requests as well.
目录锚点:#说明#参数#返回#源码
说明(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 | 
类别:WordPress 函数手册、 
		本文收集自互联网,转载请注明来源。
如有侵权,请联系 wper_net@163.com 删除。





还没有任何评论,赶紧来占个楼吧!