media_upload_file()WP 1.0

Deprecated from version 3.3.0. It is no longer supported and can be removed in future releases. Use wp_media_upload_handler() instead.

Handles uploading a generic file.

No Hooks.

Return

null|String.

Usage

media_upload_file();

Notes

Changelog

Deprecated since 3.3.0 Use wp_media_upload_handler()

media_upload_file() code WP 6.6.2

function media_upload_file() {
	_deprecated_function( __FUNCTION__, '3.3.0', 'wp_media_upload_handler()' );
	return wp_media_upload_handler();
}