Used By
Used By | Description |
---|---|
wp-admin/includes/file.php: _wp_handle_upload() | Handles PHP uploads in WordPress. |
wp-includes/functions.php: wp_upload_bits() | Create a file in the upload folder with given content. |
Filters the data array for the uploaded file.
(array) Array of upload data.
(string) Filename of the newly-uploaded file.
(string) URL of the newly-uploaded file.
(string) Mime type of the newly-uploaded file.
(string) The type of upload action. Values include 'upload' or 'sideload'.
Version | Description |
---|---|
2.1.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_handle_upload