Notifications
Clear all

Deleting parent comment, dosen't delete childs  

  RSS

Benj
 Benj
(@benj)
Member Customer
Joined: 2 months ago
Posts: 37
01/04/2020 12:31 am  

Hello,

i'm not sure if this is on purpose, but if I delete a parent comment, child will not get deleted.

Comments in response to another comment floating arround might not make sense to whoever is reading.

Could you have it so deleting parent, will delete child(s).


Quote
Elvina
(@elvina)
Prominent Member Moderator
Joined: 9 months ago
Posts: 966
01/04/2020 4:25 pm  

@benj,

This comes from WordPress. As far as wpDiscuz based the native (core) WordPress function, so uses the same logic.

However, you can use the following hook to do as you need: 

delete_comment

ReplyQuote
Share: