WordPress: WPMU Functions/get blog count:修訂間差異
來自站長百科
無編輯摘要 |
無編輯摘要 ? |
||
第1行: | 第1行: | ||
返回數字,代表活躍的博客的數目。 | 返回數字,代表活躍的博客的數目。 | ||
輸入(s): | 輸入(s): | ||
''$id'' (optional) - if 0 or empty, will use $wpdb->siteid | ''$id'' (optional) - if 0 or empty, will use $wpdb->siteid | ||
在''博客''表格中執(zhí)行SQL查詢。 | 在''博客''表格中執(zhí)行SQL查詢。 | ||
==注意== | ==注意== | ||
使用update_site_option 和get_site_option設置并且返回參數值 | 使用update_site_option 和get_site_option設置并且返回參數值 | ||
---- | ---- | ||
返回到 [[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
在博客表格中執(zhí)行SQL查詢。
注意[ ]
使用update_site_option 和get_site_option設置并且返回參數值
返回到 WPMU_Functions