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行: | ||
Returns a number representing the number of active blogs. | Returns a number representing the number of active blogs. | ||
返回数字,代表活跃的博客的数目。 | |||
Input(s): | Input(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. | Performs a SQL query to ''blogs'' table. | ||
在''博客''表格中执行SQL查询。 | |||
==Note== | ==Note== | ||
==注意== | |||
Uses update_site_option and get_site_option to set and return value | 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年9月26日 (五) 14:20的版本
Returns a number representing the number of active blogs.
返回数字,代表活跃的博客的数目。
Input(s):
输入(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
返回到 WPMU_Functions