Action hook 'edit_comment'

in WP Core File wp-includes/comment.php at line 2627

Description

Fires immediately after a comment is updated in the database. The hook also fires immediately before comment status transition hooks are fired.

Occurrences

Filename Line Number
wp-includes/comment.php 2627

Parameters

Type Name Description
int $comment_id The comment ID.
array $data Comment data.

PHP Doc

/**
	 * Fires immediately after a comment is updated in the database.
	 *
	 * The hook also fires immediately before comment status transition hooks are fired.
	 *
	 * @since 1.2.0
	 * @since 4.6.0 Added the `$data` parameter.
	 *
	 * @param int   $comment_id The comment ID.
	 * @param array $data       Comment data.
	 */