I want to copy a plugin folder to another folder, outside the WordPress installation, but in the same host, accessible via the same FTP account.
Is there a way? I read something about copying directories, but I don't understand it. How i made it and is it a
Maybe the following code will work?
global $wp_filesystem; $wp_filesystem->copy_dir( '/path/you/are/copying/from/', '/path/you/are/copying/to/' );