identify if a comment has childs/sub comments in wp_list_comments() calback ?
-
hi,
Is there a way to know using wp_list_comments() calback function if a comment have nesteds childs/sub-comments (on the front end so) ?
I need to show only posts with subcomments (replies are addeds only by admins), actualy i can identify if a post is a “child” using this line of code :
if ( '0' != $comment->comment_parent ) $isReply = true;
but it seems there’s no $comment->comment_child variable
does someone have a solution ?
- The topic ‘identify if a comment has childs/sub comments in wp_list_comments() calback ?’ is closed to new replies.