redirect_this_site()
redirect_this_site( array|string $deprecated = ” )
确保当前站点的域列在允许的重定向主机列表中。
Ensure that the current site’s domain is listed in the allowed redirect host list.
说明(Description)
参数(Parameters)
参数 | 类型 | 必填 | 说明 |
---|---|---|---|
$deprecated | (array | string) | 可选 | 不使用。 |
返回(Return)
(string[])包含当前站点域的数组。(string[])当前站点的域。
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
MU (3.0.0) | wp-includes/ms-functions.php:2020 | 0 | 1 function |
redirect_this_site() 为WP2原创文章,链接:https://www.wp2.cn/functions/redirect_this_site/