do_action( 'trashed_post_comments', int $post_id, array $statuses )

Fires after comments are sent to the trash.


Parameters

$post_id

Post ID.

$statuses

Array of comment statuses.


Source

File: wp-includes/post.php

View on GitHub



Changelog

Changelog
Version Description
WP-2.9.0 Introduced.