download_url()

Function: Downloads a URL to a local temporary file using the ClassicPress HTTP Class.

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

Used by 2 functions | Uses 9 functions

_wp_handle_upload()

Function: Handle PHP uploads in ClassicPress, 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