WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about trashed_post_comments

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/post.php do_action 3769 /**
* Fires after comments are sent to the Trash.
*
* @since 2.9.0
*
* @param int $post_id Post ID.
* @param array $statuses Array of comment statuses.
*/

Hook Parameters

Parameter Type Name Description
int $post_id Post ID.
array $statuses Array of comment statuses.