get_blogaddress_by_domain()
get_blogaddress_by_domain( string $domain, string $path )
获取完整的博客URL,给定域和路径。
Get a full blog URL, given a domain and a path.
参数(Parameters)
参数 | 类型 | 必填 | 说明 |
---|---|---|---|
$domain | (string) | 必需 | |
$path | (string) | 必需 |
返回(Return)
(string)
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
3.7.0 | wp-includes/ms-deprecated.php:365 | 0 | 3 |
get_blogaddress_by_domain() 为WP2原创文章,链接:https://www.wp2.cn/functions/get_blogaddress_by_domain/