[wp-hackers] Best way to 'enhance' wp-comments-post.php

Austin Matzko if.website at gmail.com
Thu May 25 18:13:40 GMT 2006

On 5/25/06, Eric A. Meyer <eric at meyerweb.com> wrote:
> So what I'm
> wondering is, what hook should I hang on to start this check?  I
> thought about copying one of the hooks Akismet uses, but I didn't
> really know why it was using the ones it was using, so that seemed
> like a fragile solution at best.

How about the filter 'preprocess_comment', called at the start of
wp_new_comment?  That gets it right away.

More information about the wp-hackers mailing list