久久精品水蜜桃av综合天堂,久久精品丝袜高跟鞋,精品国产肉丝袜久久,国产一区二区三区色噜噜,黑人video粗暴亚裔

WordPress: WPMU Functions/get blog details:修訂間差異

來自站長百科
跳轉(zhuǎn)至: 導航、? 搜索
無編輯摘要
無編輯摘要
?
第1行: 第1行:
Gets general blog information (pulls from table wp_blogs).
得到一般的博客信息(來自表格wp_blogs)。
得到一般的博客信息(來自表格wp_blogs)。
Data this can return for a single blog includes:


單一博客的數(shù)據(jù)包括:
單一博客的數(shù)據(jù)包括:
?? blog_id
?? blog_id
?? site_id
?? site_id
第18行: 第14行:
?? deleted
?? deleted
?? lang_id
?? 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)容,請使用下面的語法:
要返回所有的內(nèi)容,請使用下面的語法:


?? $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:


你返回某一個內(nèi)容,你可以使用下面的語法:
你返回某一個內(nèi)容,你可以使用下面的語法:
?? $result = get_blog_details($blogId)->path;
?? $result = get_blog_details($blogId)->path;


----
----
? $result = get_blog_details($blogId)->path;
----
Return to [[WordPress:WPMU_Functions]]
返回到 [[WordPress:WPMU_Functions| WPMU_Functions]]
返回到 [[WordPress:WPMU_Functions| WPMU_Functions]]

2008年10月9日 (四) 15:21的最新版本

得到一般的博客信息(來自表格wp_blogs)。

單一博客的數(shù)據(jù)包括:

 blog_id
 site_id
 domain 
 path 
 registered
 last_updated
 public
 archived
 mature 
 spam 
 deleted
 lang_id

用法[ ]

要返回所有的內(nèi)容,請使用下面的語法:

 $result = get_blog_details($blogId);

你返回某一個內(nèi)容,你可以使用下面的語法:

 $result = get_blog_details($blogId)->path;

返回到 WPMU_Functions