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