WIKI使用導(dǎo)航
站長(zhǎng)百科導(dǎo)航
站長(zhǎng)專題
- 網(wǎng)站推廣
- 網(wǎng)站程序
- 網(wǎng)站賺錢
- 虛擬主機(jī)
- cPanel
- 網(wǎng)址導(dǎo)航專題
- 云計(jì)算
- 微博營(yíng)銷
- 虛擬主機(jī)管理系統(tǒng)
- 開放平臺(tái)
- WIKI程序與應(yīng)用
- 美國(guó)十大主機(jī)
WordPress: WPMU Functions/get blog details:修訂間差異
來(lái)自站長(zhǎng)百科
(新頁(yè)面: Gets general blog information (pulls from table wp_blogs). Data this can return for a single blog includes: blog_id site_id domain path registered last_updated public ...) ? |
無(wú)編輯摘要 |
||
第1行: | 第1行: | ||
Gets general blog information (pulls from table wp_blogs). | Gets general blog information (pulls from table wp_blogs). | ||
得到一般的博客信息(來(lái)自表格wp_blogs)。 | |||
Data this can return for a single blog includes: | Data this can return for a single blog includes: | ||
單一博客的數(shù)據(jù)包括: | |||
?? blog_id | ?? blog_id | ||
第15行: | 第18行: | ||
?? deleted | ?? deleted | ||
?? lang_id | ?? lang_id | ||
? blog_id | |||
? site_id | |||
? domain | |||
? path | |||
? registered | |||
? last_updated | |||
? public | |||
? archived | |||
? mature | |||
? spam | |||
? deleted | |||
? lang_id | |||
==Usage== | ==Usage== | ||
==用法== | |||
To return all items, use the following syntax: | To return all items, use the following syntax: | ||
要返回所有的內(nèi)容,請(qǐng)使用下面的語(yǔ)法: | |||
? $result = get_blog_details($blogId); | |||
?? $result = get_blog_details($blogId); | ?? $result = get_blog_details($blogId); | ||
To return a single item, you can use the following: | To return a single item, you can use the following: | ||
你返回某一個(gè)內(nèi)容,你可以使用下面的語(yǔ)法: | |||
? $result = get_blog_details($blogId)->path; | |||
---- | |||
?? $result = get_blog_details($blogId)->path; | ?? $result = get_blog_details($blogId)->path; | ||
第29行: | 第60行: | ||
Return to [[WordPress:WPMU_Functions]] | Return to [[WordPress:WPMU_Functions]] | ||
返回到 [[WordPress:WPMU_Functions| WPMU_Functions]] |
2008年9月26日 (五) 14:30的版本
Gets general blog information (pulls from table wp_blogs). 得到一般的博客信息(來(lái)自表格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:
要返回所有的內(nèi)容,請(qǐng)使用下面的語(yǔ)法:
$result = get_blog_details($blogId);
$result = get_blog_details($blogId);
To return a single item, you can use the following:
你返回某一個(gè)內(nèi)容,你可以使用下面的語(yǔ)法:
$result = get_blog_details($blogId)->path;
$result = get_blog_details($blogId)->path;
Return to WordPress:WPMU_Functions
返回到 WPMU_Functions