_wp_handle_upload()

Function: Handle PHP uploads in WordPress, sanitizing file names, checking extensions for mime type, and moving the file to the appropriate directory within the uploads directory.

Source: wp-admin/includes/file.php:701

Used by 2 functions | Uses 11 functions