Is there any way how to output wp_list_comments()
into a variable?
Something like $output = wp_list_comments(array('reverse_top_level' => false ), $comments);
I am writing a plugin and it would be handy to use standard WordPress function instead of writing my own.
wp_list_comments()
.wp_list_comments
. I thought I could avoid that.