{"id":6264,"date":"2009-07-27T12:43:34","date_gmt":"2009-07-27T12:43:34","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/spamcount\/"},"modified":"2010-06-13T09:36:08","modified_gmt":"2010-06-13T09:36:08","slug":"spamcount","status":"publish","type":"plugin","link":"https:\/\/en-ca.wordpress.org\/plugins\/spamcount\/","author":89305,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.3","stable_tag":"0.3","tested":"3.0.5","requires":"2.7.1","requires_php":"","requires_plugins":"","header_name":"SpamCount","header_author":"Simon Prosser","header_description":"","assets_banners_color":"","last_updated":"2010-06-13 09:36:08","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_donations&business=pross2%40gmail%2ecom&item_name=Simon%20Prosser&page_style=PayPal&no_shipping=0&return=http%3a%2f%2fwww%2epross%2eorg%2euk&no_note=1&tax=0&currency_code=GBP&lc=GB&bn=PP%2dDonationsBF&charset=UTF%2d8","header_plugin_uri":"http:\/\/www.pross.org.uk\/wordpress-plugins\/","header_author_uri":"http:\/\/www.pross.org.uk","rating":0,"author_block_rating":0,"active_installs":0,"downloads":1623,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1","0.2","0.3"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[599,975],"plugin_category":[43,54],"plugin_contributors":[77998],"plugin_business_model":[],"class_list":["post-6264","plugin","type-plugin","status-publish","hentry","plugin_tags-spam","plugin_tags-template","plugin_category-customization","plugin_category-security-and-spam-protection","plugin_contributors-pross","plugin_committers-pross"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/spamcount.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Heres 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.<\/p>\n\n<h3>Un-Installation<\/h3>\n\n<ul>\n<li>go to the Plugins main menu and find SpamCount, then click Deactivate <\/li>\n<li>delete the files from your <code>wp-content\/plugins<\/code> directory<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>upload the contents of the zip file to your <code>wp-content\/plugins<\/code> directory<\/li>\n<li>go to the Plugins main menu and find <code>SpamCount<\/code>, then click Activate<\/li>\n<\/ol>\n\n<p>Usage:<\/p>\n\n<p>if (function_exists(spamcount)) { <em>spamcount();<\/em> }<\/p>\n\n<p>Default output will look like:<\/p>\n\n<p>10253 Spams caught since Jun 2006<\/p>\n\n<p>To show just the number use:<\/p>\n\n<p>if (function_exists(spamcount)) { <em>spamcount(number);<\/em> }<\/p>\n\n<p>And to have custom text use:<\/p>\n\n<p>if (function_exists(spamcount)) { <em>spamcount($text = 'somecustomtext');<\/em> }<\/p>\n\n<p>Which would show as:<\/p>\n\n<p>10253 somecustomtext Jun 2006<\/p>\n\n<!--section=changelog-->\n<h4>0.3<\/h4>\n\n<ul>\n<li>tested and working 100% wordpress 3.0<\/li>\n<\/ul>\n\n<h4>0.2<\/h4>\n\n<ul>\n<li>Added some switches<\/li>\n<li>Added error checking<\/li>\n<\/ul>\n\n<h4>0.1<\/h4>\n\n<ul>\n<li>First release<\/li>\n<\/ul>","raw_excerpt":"Heres 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 templa &hellip;","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/en-ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/6264","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/en-ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/en-ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/en-ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=6264"}],"author":[{"embeddable":true,"href":"https:\/\/en-ca.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/pross"}],"wp:attachment":[{"href":"https:\/\/en-ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=6264"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/en-ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=6264"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/en-ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=6264"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/en-ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=6264"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/en-ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=6264"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/en-ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=6264"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}