Un motore di ricerca WordPress per sviluppatori e autori di temi



wp_import_cleanup ›

Da2.0.0
Deprecaton/a
wp_import_cleanup ( $id )
Parametri:
  • (string) $id Importer ID.
    Richiesto:
Definito a:
Codex:

Cleanup importer.

Removes attachment based on ID.



Sorgenti

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