Difference between revisions of "Stats Function"
From GeeklogWiki
Line 18: | Line 18: | ||
</tr> | </tr> | ||
</table> | </table> | ||
+ | |||
+ | [[Category:Plugin Development]] |
Revision as of 14:41, 2 July 2004
If you want your plugin to show up on the stats page then you must implement this function.</p>
Function | Description of Function |
---|---|
plugin_showstats_<plugin name> | This function takes a showsitestats
flag. If set to 1, this function shows the overall stats for your plugin in the site statistics box. If it is set to 2 it shows the statistic blocks for you plugin (similar to Top Ten Viewed Stories andTop Ten Commented Stories). |