wpseek.com
WordPress开发者和主题制作者的搜索引擎



trashed_post_comments › WordPress动作钩子

Since2.9.0
已弃用n/a
› do_action( 'trashed_post_comments', $post_id, $statuses )
参数: (2)
  • () post_id Post ID.
    Required: Yes
  • () statuses Array of comment statuses.
    Required: Yes
定义在:
文档:

Fires after comments are sent to the Trash.





源码

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