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
| Version | Description |
|---|---|
| 2.9.0 | Introduced. |
Fires after comments are sent to the Trash.
$post_idint$statusesarraydo_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.