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



edit_comment ›

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 );