What does the “$depth” parameter in the Walker_Comment stand for?
I’m trying to write a custom comment class for my comments and I’ve been trying to de-construct the code for quite a while, here it is: class Custom_Comment_Walker extends Walker_Comment { var $tree_type=”comment”; var $db_fields = array( ‘parent’ => ‘comment_parent’, ‘id’ => ‘comment_ID’ ); // constructor – wrapper for the comments list function __construct() { … Read more