do_action( ‘edit_comment’, int $comment_id, array $data )

In this article

Fires immediately after a comment is updated in the database.

Description

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

Parameters

$comment_idint
The comment ID.
$dataarray
Comment data.

Source

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

Changelog

VersionDescription
4.6.0Added the $data parameter.
1.2.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.