How to get the number of replies to a specified replyID
-
Is there a function to specify replyID and get the number of replies to it?
For example, if you have the following HTML, I would like to know about functions that can write “
<?php xxx(100) ?>
” and get “2”.<div id="bbpress-forums"> <ul id="topic-1-replies" class="forums bbp-replies"> <li> <div id="post-100"> <p>Hello!</p> </div> <li> <ul class="bbp-threaded-replies"> <li> <div id="post-101"> <p>Hi!</p> </div> <li> <li> <div id="post-102"> <p>Cheers!</p> </div> <li> </ul> </ul> </div>
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- You must be logged in to reply to this topic.