WIKI使用導航
站長百科導航
站長專題
- 網(wǎng)站推廣
- 網(wǎng)站程序
- 網(wǎng)站賺錢
- 虛擬主機
- cPanel
- 網(wǎng)址導航專題
- 云計算
- 微博營銷
- 虛擬主機管理系統(tǒng)
- 開放平臺
- WIKI程序與應用
- 美國十大主機
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:
單一博客的數(shù)據(jù)包括:
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