[wp-hackers] Pesky "Says:"

Benedict Eastaugh ionfish at gmail.com
Mon Nov 24 11:06:11 GMT 2008

> I didn't know that. How do you tell WP to use your class instead of the
> default?

Just pass it into wp_list_comments like this:

wp_list_comments(array('walker' => new TarskiCommentWalker));

Here's the code in context:


I subclassed Walker_Comment because it's fairly close to what I
wanted, but you could subclass Walker instead if you want to make more
radical changes.

More information about the wp-hackers mailing list