[wp-hackers] Action called when a comment is marked as spam?

David Anderson david at wordshell.net
Fri Sep 12 12:07:19 UTC 2014

On 12/09/14 13:00, Per S?derlind wrote:

> You can get this information from $wpdb->comments. In my plugin,http://wordpress.org/plugins/wp-denyhost/, I do:
Hi Per,

It's real-time tracking across a large number of aggregated sites that 
I'm looking at. I use a PHP file that is invoked via auto_prepend_file 
on every site on the server, to hook relevant actions. This saves the 
effort and performance cost of manual scanning of WP installs and tables 
(and of maintaining plugins on every single site). So, it's the best 
hook that I'm really interested in.

Best wishes,

UpdraftPlus - best WordPress backups - http://updraftplus.com
WordShell - WordPress fast from the CLI - http://wordshell.net

More information about the wp-hackers mailing list