121 reputation
4
bio website
location
age
visits member for 1 year, 10 months
seen Sep 7 at 11:37

Dec
17
asked Does Wordpress has an automatic link parse function?
Dec
14
revised Warnings On Updating WordPress
added 29 characters in body
Dec
14
answered Warnings On Updating WordPress
Dec
14
awarded  Teacher
Dec
13
awarded  Editor
Dec
13
revised Searching a hook which triggers when deleting a post to get all comments
edited title
Dec
13
answered Searching a hook which triggers when deleting a post to get all comments
Dec
13
awarded  Student
Dec
13
awarded  Supporter
Dec
13
comment Searching a hook which triggers when deleting a post to get all comments
Found it: wp_transition_comment_status( $new_status, $old_status, $comment )
Dec
13
comment Searching a hook which triggers when deleting a post to get all comments
the second hook won't trigger when deleting a post, because the comment is actually not trashed (not visisble in the trash or anywhere else), it only gets the status "post-trashed" in the database. I will try it with the third hook. Which parameters will I get with that hook? I need at least the comment_ID and the old+new status.
Dec
13
asked Searching a hook which triggers when deleting a post to get all comments