Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

WordPress hook directory
trashed_comment

Description

Runs just after a comment is trashed. 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 trashed_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 879 View in context action
3.0 wp-includes/comment.php 944 View in context action
3.1 wp-includes/comment.php 1002 View in context action
3.2 wp-includes/comment.php 1013 View in context action
3.3 wp-includes/comment.php 1013 View in context action
3.4 wp-includes/comment.php 1027 View in context action
3.5 wp-includes/comment.php 1059 View in context action
3.6 wp-includes/comment.php 1061 View in context action
3.7 wp-includes/comment.php 1076 View in context action
3.8 wp-includes/comment.php 1253 View in context action
3.9 wp-includes/comment.php 1242 View in context action
4.0 wp-includes/comment.php 1331 View in context action
4.1 wp-includes/comment.php 1615 View in context action
4.2 wp-includes/comment.php 1813 View in context action
4.3 wp-includes/comment.php 1870 View in context action
4.4 wp-includes/comment.php 1167 View in context action
4.5 wp-includes/comment.php 1243 View in context action
4.6 wp-includes/comment.php 1246 View in context action
4.7 wp-includes/comment.php 1375 View in context action
4.8 wp-includes/comment.php 1369 View in context action
4.9 wp-includes/comment.php 1391 View in context action
5.0 wp-includes/comment.php 1393 View in context action
5.1 wp-includes/comment.php 1445 View in context action

Related Hooks

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