wp_import_cleanup( string $id )

Cleanup importer.


Description Description

Removes attachment based on ID.


Top ↑

Parameters Parameters

$id

(string) (Required) Importer ID.


Top ↑

Source Source

File: wp-admin/includes/import.php

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

Top ↑

Changelog Changelog

Changelog
Version Description
2.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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