编辑“WordPress:WPMU Functions/get blog details”
该编辑可以被撤销。 请检查下面的对比以核实您想要撤销的内容,然后发布下面的更改以完成撤销。
最后版本 | 您的文本 | ||
第1行: | 第1行: | ||
Gets general blog information (pulls from table wp_blogs). | |||
Data this can return for a single blog includes: | |||
blog_id | blog_id | ||
site_id | site_id | ||
第15行: | 第16行: | ||
lang_id | 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]] |