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.


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

Список изменений

С версии 1.2.0 Введена.
С версии 4.6.0 Added the $data parameter.

Где вызывается хук

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

Где используется хук в ядре WP

Использование не найдено.