通过博客名称获取博客地址(多站点)
描述
Get a full blog URL, given a blog name.
用法
<?php get_blogaddress_by_name( $blogname ) ?>
参数
$blogname
(string) (必填) The (subdomain or directory) name
默认值: None
返回值
(string)
The full blog URL
历史
添加于 版本: 3.0.0
- 原文:http://codex.wordpress.org/Function_Reference/get_blogaddress_by_name