edit_comment

edit_comment

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7.1

do_action('edit_comment') is found 1 times:

  • /wp-includes/comment.php line 2654
    	 *
    	 * @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 $result;
    

See this hook used in plugins: