wp_import_cleanup( string $id )

Cleanup importer.


Description

Removes attachment based on ID.


Top ↑

Parameters

$id string Required
Importer ID.

Top ↑

Source

File: wp-admin/includes/import.php. View all references

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


Top ↑

Changelog

Changelog
Version Description
2.0.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.