WordPress: WPMU Functions/get blog count:修订间差异

来自站长百科
跳转至: 导航、​ 搜索
无编辑摘要
无编辑摘要
 
第1行: 第1行:
Returns a number representing the number of active blogs.
返回数字,代表活跃的博客的数目。
返回数字,代表活跃的博客的数目。
Input(s):


输入(s):
输入(s):


''$id'' (optional) - if 0 or empty, will use $wpdb->siteid
''$id'' (optional) - if 0 or empty, will use $wpdb->siteid
''$id'' (optional) - if 0 or empty, will use $wpdb->siteid
Performs a SQL query to ''blogs'' table.


在''博客''表格中执行SQL查询。
在''博客''表格中执行SQL查询。
==Note==


==注意==
==注意==


Uses update_site_option and get_site_option to set and return value
使用update_site_option 和get_site_option设置并且返回参数值
使用update_site_option 和get_site_option设置并且返回参数值
----
Return to [[WordPress:WPMU_Functions]]


----
----


返回到 [[WordPress:WPMU_Functions| WPMU_Functions]]
返回到 [[WordPress:WPMU_Functions| WPMU_Functions]]

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

返回数字,代表活跃的博客的数目。

输入(s):

$id (optional) - if 0 or empty, will use $wpdb->siteid

博客表格中执行SQL查询。

注意[ ]

使用update_site_option 和get_site_option设置并且返回参数值


返回到 WPMU_Functions