edit_comment

Advertisement

Summery Summery

Fires immediately after a comment is updated in the database.

Syntax Syntax

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

Description Description

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

Parameters Parameters

$comment_ID

The comment ID.

$data

Comment data.

Source Source

File: wp-includes/comment.php

Advertisement

Changelog Changelog

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

Advertisement

Leave a Reply