A WordPress-centric search engine for devs and theme authors



edit_comment ›

Since4.6.0
Deprecatedn/a
do_action( 'edit_comment', $comment_ID, $data )
Parameters: (2)
  • (int) $comment_ID The comment ID.
    Required: Yes
  • (array) $data Comment data.
    Required: Yes
Defined at:
Codex:

Fires immediately after a comment is updated in the database.

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





Source

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