Delete Comment Hook
-
Is there a hook for when a comment is deleted or blacklisted/unnaproved? I am using the ‘wpdiscuz_after_comment_post’ action to update some custom fields on my posts with the number of reviews and average ratings so that I can use this for sorting query loops. Unfortunately this is only called when a new comment is added, so if any comments are removed the fields dont get updated until a new comment is posted.
Thanks!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.