get_blogaddress_by_id()
get_blogaddress_by_id( int $blog_id )
获取一个完整的博客URL,给定一个博客id。
Get a full blog URL, given a blog id.
参数(Parameters)
参数 | 类型 | 必填 | 说明 |
---|---|---|---|
$blog_id | (int) | 必需 | 博客ID。 |
返回(Return)
(string)博客的完整URL(如果找到)。如果不是空string。
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
MU (3.0.0) | wp-includes/ms-blogs.php:41 | 2 | 2 |
get_blogaddress_by_id() 为WP2原创文章,链接:https://www.wp2.cn/functions/get_blogaddress_by_id/