Fires after comments are sent to the Trash.
Parameters
$post_id
int- Post ID.
$statuses
array- Array of comment statuses.
Source
do_action( 'trashed_post_comments', $post_id, $statuses );
Changelog
Version | Description |
---|---|
2.9.0 | Introduced. |
Fires after comments are sent to the Trash.
$post_id
int$statuses
arraydo_action( 'trashed_post_comments', $post_id, $statuses );
Version | Description |
---|---|
2.9.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.