David Anderson
2014-09-12 09:12:26 UTC
Hi,
I'm looking at collecting IP information on my servers for IP addresses
that send comment spam.
Looking in the hooks database at http://adambrown.info/p/wp_hooks and
with some Googling, it looks like the comment_post action is the best
place to hook. I'd then need to check the comment status (see if it's
spam), and that's about it. If I understand rightly, all plugins (like
Akismet) that can mark a comment as spam, will have done their work by
this point.
Does that sound right?
Many thanks,
David
I'm looking at collecting IP information on my servers for IP addresses
that send comment spam.
Looking in the hooks database at http://adambrown.info/p/wp_hooks and
with some Googling, it looks like the comment_post action is the best
place to hook. I'd then need to check the comment status (see if it's
spam), and that's about it. If I understand rightly, all plugins (like
Akismet) that can mark a comment as spam, will have done their work by
this point.
Does that sound right?
Many thanks,
David
--
UpdraftPlus - best WordPress backups - http://updraftplus.com
WordShell - WordPress fast from the CLI - http://wordshell.net
UpdraftPlus - best WordPress backups - http://updraftplus.com
WordShell - WordPress fast from the CLI - http://wordshell.net