WordPress at a glance
function is not described

wp_import_cleanup() WP 2.0.0

Cleanup importer.

Removes attachment based on ID.

No Hooks.

Return

Nothing (null).

Usage

wp_import_cleanup( $id );
$id(string) (required)
Importer ID.

Code of wp import cleanup: wp-admin/includes/import.php VER 5.1.1

<?php
function wp_import_cleanup( $id ) {
	wp_delete_attachment( $id );
}