This function has been deprecated. Use wp_media_upload_handler() instead.

media_upload_image()

Handles uploading an image.


Description

See also


Return

(null|string)


Source

File: wp-admin/includes/deprecated.php

function media_upload_image() {
	_deprecated_function( __FUNCTION__, 'WP-3.3.0', 'wp_media_upload_handler()' );
	return wp_media_upload_handler();
}


Changelog

Changelog
Version Description
WP-3.3.0 Introduced. Use wp_media_upload_handler()