copy_dir Wordpress function


Description:

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


Syntax:


Arguments:

(string) $from source directory
(string) $to destination directory
(array) $skip_list a list of files/folders to skip copying


Return Type:

(mixed) WP_Error on failure, True on success.


Define At:

wp-admin/includes/file.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/copy_dir


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×