do_action( ‘trashed_post_comments’, int $post_id, array $statuses )

In this article

Fires after comments are sent to the Trash.

Parameters

$post_idint
Post ID.
$statusesarray
Array of comment statuses.

Source

do_action( 'trashed_post_comments', $post_id, $statuses );

Changelog

VersionDescription
2.9.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.