media_upload_image()

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

Handles uploading an image.

Description

See also

Return

(null|string)

Source

File: wp-admin/includes/deprecated.php

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

Changelog

Version Description
3.3.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/media_upload_image