How to check if a comment has reply capability?

By default, WordPress comments list support 4 depth reply. How can I detect if a comment has the reply comment capability?

The last depth shouldn’t have the reply capability. I do something different for the last depth of reply that doesn’t have the reply link.

Read more here:: How to check if a comment has reply capability?

Leave a Reply

Your email address will not be published. Required fields are marked *