How do I get the ID of the top level comment, as in, the top parent comment? Useful functions like get_ancestors() and get_post_ancestors() don’t work with comments.

Read more here: Get the top level comment ID


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: