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



deleted_comment › WordPress动作钩子

Since4.9.0
已弃用n/a
› do_action( 'deleted_comment', $comment->comment_ID, $comment )
参数: (2)
  • () comment_id The comment ID as a numeric string.
    Required: Yes
  • () comment The deleted comment.
    Required: Yes
定义在:
文档:

Fires immediately after a comment is deleted from the database.





源码

do_action( 'deleted_comment', $comment->comment_ID, $comment );