评论发送到垃圾箱后触发。
原型
do_action( 'trashed_post_comments', int $post_id, array $statuses )
参数
$post_id
(int)
帖子ID。
$statuses
(array)
一系列评论状态。
源文件
路径:wp-includes/post.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/trashed_post_comments/