do_action( 'edit_comment', int $comment_id, array $data )

Fires immediately after a comment is updated in the database.


Description

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


Top ↑

Parameters

$comment_id int
The comment ID.
$data array
Comment data.

Top ↑

Source

File: wp-includes/comment.php. View all references

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


Top ↑

Changelog

Changelog
Version Description
4.6.0 Added the $data parameter.
1.2.0 Introduced.

Top ↑

User Contributed Notes

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