Welcome, visitor! Log in
 

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 3.5.

Version File Line Type
2.9 wp-includes/comment.php 879 View hook in source action
3.0 wp-includes/comment.php 944 View hook in source action
3.1 wp-includes/comment.php 1002 View hook in source action
3.2 wp-includes/comment.php 1013 View hook in source action
3.3 wp-includes/comment.php 1013 View hook in source action
3.4 wp-includes/comment.php 1027 View hook in source action
3.5 wp-includes/comment.php 1059 View hook in source 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.