WordPress:WPMU Functions/get blog details
来自站长百科
Gets general blog information (pulls from table wp_blogs). 得到一般的博客信息(来自表格wp_blogs)。
Data this can return for a single blog includes:
单一博客的数据包括:
blog_id site_id domain path registered last_updated public archived mature spam deleted lang_id
blog_id site_id domain path registered last_updated public archived mature spam deleted lang_id
Usage
用法
To return all items, use the following syntax:
要返回所有的内容,请使用下面的语法:
$result = get_blog_details($blogId);
$result = get_blog_details($blogId);
To return a single item, you can use the following:
你返回某一个内容,你可以使用下面的语法:
$result = get_blog_details($blogId)->path;
$result = get_blog_details($blogId)->path;
Return to WordPress:WPMU_Functions
返回到 WPMU_Functions