One can customize single comment markup using the callback
argument in wp_list_comments
like this:
$args = array( 'callback' => 'my_callback', 'avatar_size' => 48, 'type' => 'comment' );
wp_list_comments( $args );
The question is, how to pass arguments to that my_callback
function?
Already it gets three:
function my_callback( $comment, $args, $depth )
But I need to add my own 4th argument