edit_comment

edit_comment

Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.0.1

do_action('edit_comment') is found 1 times:

  • /wp-includes/comment.php line 2560
    	 *
    	 * @param int   $comment_ID The comment ID.
    	 * @param array $data       Comment data.
    	 */
    	do_action( 'edit_comment', $comment_ID, $data );
    
    	$comment = get_comment( $comment_ID );
    
    	wp_transition_comment_status( $comment->comment_approved, $old_status, $comment );
    
    	return $rval;
    

See this hook used in plugins: