Uses
Uses | Description |
---|---|
wp-admin/includes/media.php: wp_media_upload_handler() | Handles the process of uploading media. |
wp-includes/functions.php: _deprecated_function() | Mark a function as deprecated and inform when it has been used. |
This function has been deprecated. Use wp_media_upload_handler() instead.
Handles uploading a generic file.
(null|string)
File: wp-admin/includes/deprecated.php
function media_upload_file() { _deprecated_function( __FUNCTION__, '3.3.0', 'wp_media_upload_handler()' ); return wp_media_upload_handler(); }
Version | Description |
---|---|
3.3.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/media_upload_file