_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:718

Used by 2 functions | Uses 11 functions

copy_dir()

Function: Copies a directory from one location to another via the WordPress Filesystem Abstraction.

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

Used by 3 functions | Uses 5 functions