WordPress at Your Fingertips
function is not described

wp_import_cleanup() WP 2.0.0

Cleanup importer.

Removes attachment based on ID.

No Hooks.

Return

null. Nothing.

Usage

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

Changelog

Since 2.0.0 Introduced.

Code of wp_import_cleanup() WP 5.8.2

function wp_import_cleanup( $id ) {
	wp_delete_attachment( $id );
}