copy_dir ( $from, $to, $skip_list = array() )
- (string) $from Source directory.
- (string) $to Destination directory.
- (array) $skip_list A list of files/folders to skip copying.
- (true|WP_Error) True on success, WP_Error on failure.
- Introduced in WordPress: 2.5.0
- Deprecated in WordPress: —
Copies a directory from one location to another via the WordPress Filesystem
Assumes that WP_Filesystem() has already been called and setup.