Hello. I am the author of a plugin called "Spammer Blocker". It blocks every visitor who posted a comment that was later marked as spam. The problem is, that when you remove spam comments, you also remove all IP addresses.
So I decided to fix this in the next version of the plugin. I want to store all IP addresses in another table, so the records cannot be deleted.
But to do that, I need to copy an IP address immediately after a comment is marked as spam. There is one way how to do it - using a trigger in MySQL database. But not all webhosts allow using triggers, so I need an alternative.
Can you add a new function for this action?