WordPress at a glance
action is not described

edit_comment action-hook . WP 1.2.0

Fires immediately after a comment is updated in the database.

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

Usage

add_action( 'edit_comment', 'action_function_name_774', 10, 2 );
function action_function_name_774( $comment_ID, $data ){
	// action...
}
$comment_ID(int)
The comment ID.
$data(array)
Comment data.

Notes

  • Since 4.6.0 Added the $data parameter.

Where the hook is called

wp_update_comment()
edit_comment
wp-includes/comment.php 2259
do_action( 'edit_comment', $comment_ID, $data );

Where the hook is used (in WP core)

Does not used.