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

来自站长百科
跳转至: 导航、​ 搜索
(新页面: Returns a number representing the number of active blogs. Input(s): ''$id'' (optional) - if 0 or empty, will use $wpdb->siteid Performs a SQL query to ''blogs'' table. ==Note== Uses u...)
 
无编辑摘要
 
(未显示另一用户的1个中间版本)
第1行: 第1行:
Returns a number representing the number of active blogs.
返回数字,代表活跃的博客的数目。
 
输入(s):


Input(s):
''$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查询。


==Note==
==注意==


Uses update_site_option and get_site_option to set and return value
使用update_site_option 和get_site_option设置并且返回参数值


----
----


Return to [[WordPress: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