media_upload_file(): null|string

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

Handles uploading a generic file.

Description

See also

Return

null|string

Source

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

Changelog

VersionDescription
3.3.0Introduced.

User Contributed Notes

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