WordPress at a glance
function is not described

get_category_to_edit() WP 2.0.0

Get category object for given ID and 'edit' filter context.

No Hooks.

Return

Object.

Usage

get_category_to_edit( $id );
$id(int) (required)

Code of get category to edit: wp-admin/includes/taxonomy.php VER 5.1.1

<?php
function get_category_to_edit( $id ) {
	$category = get_term( $id, 'category', OBJECT, 'edit' );
	_make_cat_compat( $category );
	return $category;
}