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



edit_comment › WordPress动作钩子

Since4.6.0
已弃用n/a
do_action( 'edit_comment', $comment_id, $data )
参数: (2)
  • (int) $comment_id The comment ID.
    Required: Yes
  • (array) $data Comment data.
    Required: Yes
定义在:
文档:

Fires immediately after a comment is updated in the database.

The hook also fires immediately before comment status transition hooks are fired.





源码

do_action( 'edit_comment', $comment_id, $data );