+// filter handler used to return a spam result to pre_comment_approved
+function akismet_result_spam( $approved ) {
+ // bump the counter here instead of when the filter is added to reduce the possibility of overcounting
+ update_option( 'akismet_spam_count', get_option('akismet_spam_count') + 1 );
+ return 'spam';
+}
+