编辑“WordPress:WPMU Functions/get most active blogs”
该编辑可以被撤销。 请检查下面的对比以核实您想要撤销的内容,然后发布下面的更改以完成撤销。
最后版本 | 您的文本 | ||
第1行: | 第1行: | ||
This is useful for getting active blogs. | This is useful for getting active blogs. | ||
Please note here active blogs will be calculated based on number of posts. | Please note here active blogs will be calculated based on number of posts. | ||
Naturally more posts mean more activity! | Naturally more posts mean more activity! | ||
Arguments are: | Arguments are: | ||
default $num = 10 number of results to fetch. | default $num = 10 number of results to fetch. | ||
default $display = true whether print the result or just fetch the result array. | default $display = true whether print the result or just fetch the result array. | ||
第20行: | 第12行: | ||
get_most_active_blogs( $num = 10, $display = true ); | get_most_active_blogs( $num = 10, $display = true ); | ||
</pre> | </pre> | ||
PS. I think it would be good to have another argument to ignore certain blogs, for example my client don't want to display main blog stats here :( | PS. I think it would be good to have another argument to ignore certain blogs, for example my client don't want to display main blog stats here :( | ||
--[[User:Devportals|Devportals]] 12:53, 25 June 2008 (UTC) | --[[User:Devportals|Devportals]] 12:53, 25 June 2008 (UTC) | ||
Cheers! | Cheers! | ||