[wp-hackers] Comment vs. trackback?

Otto otto at ottodestruct.com
Fri Nov 21 15:27:37 GMT 2008


On Fri, Nov 21, 2008 at 9:21 AM, Stephen Rider
<wp-hackers at striderweb.com> wrote:
> 1) Does the preprocess_comment hook affect trackbacks as well?

Yes. Pingbacks too.

> 2) What would be the best way for me to limit the "test" so that only
> comments are affected?

Look closer at the comment_type value in the comment array.


More information about the wp-hackers mailing list