wp_import_cleanup( string $id )
Cleanup importer.
Description
Removes attachment based on ID.
Parameters
- $id
-
(Required) Importer ID.
Source
File: wp-admin/includes/import.php
function wp_import_cleanup( $id ) {
wp_delete_attachment( $id );
}
Changelog
Version | Description |
---|---|
WP-2.0.0 | Introduced. |