Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

WordPress hook directory
deleted_comment

Description

Runs just after a comment is deleted. Action function arguments: comment ID.

This description was scraped automatically from the WordPress filter reference or action reference. If it looks like this is the wrong description, please tell me so I can fix my code.

WordPress version history for deleted_comment

This database has information for all major versions from WP 1.2.1 through 5.1.

Version File Line Type
2.9 wp-includes/comment.php 844 View in context action
2.9 wp-includes/post.php 1228 View in context action
2.9 wp-includes/post.php 2864 View in context action
3.0 wp-includes/comment.php 906 View in context action
3.0 wp-includes/post.php 1772 View in context action
3.0 wp-includes/post.php 3470 View in context action
3.1 wp-includes/comment.php 964 View in context action
3.1 wp-includes/post.php 1999 View in context action
3.1 wp-includes/post.php 3712 View in context action
3.2 wp-includes/comment.php 975 View in context action
3.2 wp-includes/post.php 2030 View in context action
3.2 wp-includes/post.php 3797 View in context action
3.3 wp-includes/comment.php 975 View in context action
3.3 wp-includes/post.php 2022 View in context action
3.3 wp-includes/post.php 3794 View in context action
3.4 wp-includes/comment.php 989 View in context action
3.5 wp-includes/comment.php 1021 View in context action
3.6 wp-includes/comment.php 1023 View in context action
3.7 wp-includes/comment.php 1038 View in context action
3.8 wp-includes/comment.php 1192 View in context action
3.9 wp-includes/comment.php 1182 View in context action
4.0 wp-includes/comment.php 1277 View in context action
4.1 wp-includes/comment.php 1563 View in context action
4.2 wp-includes/comment.php 1761 View in context action
4.3 wp-includes/comment.php 1818 View in context action
4.4 wp-includes/comment.php 1113 View in context action
4.5 wp-includes/comment.php 1189 View in context action
4.6 wp-includes/comment.php 1192 View in context action
4.7 wp-includes/comment.php 1321 View in context action
4.8 wp-includes/comment.php 1315 View in context action
4.9 wp-includes/comment.php 1333 View in context action
5.0 wp-includes/comment.php 1335 View in context action
5.1 wp-includes/comment.php 1384 View in context action

Related Hooks

We find related hooks using word stems. deleted_comment has 2 significant word stem(s): deleted, comment. Note that some of the hooks below may not appear in all versions of WP.