SpamCount
Simon ProsserHeres a tiny plugin that will show the total number of spams caught by askismet since your very first post. You can include it anywhere in your template.
Un-Installation
- go to the Plugins main menu and find SpamCount, then click Deactivate
- delete the files from your
wp-content/plugins
directory
0.3
- tested and working 100% wordpress 3.0
0.2
- Added some switches
- Added error checking
0.1
- First release
- upload the contents of the zip file to your
wp-content/plugins
directory - go to the Plugins main menu and find
SpamCount
, then click Activate
Usage:
if (function_exists(spamcount)) { spamcount(); }
Default output will look like:
10253 Spams caught since Jun 2006
To show just the number use:
if (function_exists(spamcount)) { spamcount(number); }
And to have custom text use:
if (function_exists(spamcount)) { spamcount($text = ‘somecustomtext’); }
Which would show as:
10253 somecustomtext Jun 2006
Reviews
0 out of 5 stars
- Version: 0.3
- Last updated: 14 years ago
- Active installations: 0
- WordPress version: 2.7.1
- Tested up to: 3.0.5
- PHP version: false