Last updated 6 months ago
copy_folder_recursive()
This method will copy the contents of an folder into another folder.
Not supported. Use instead.
$folder_id
string
ID of the folder containing the files that should be copied.
$target_id
ID of the folder where the files should be copied to.
$result
bool
The result of the copy operation.
WPCP_GDRIVE_API::set_account_by_id('201096615285735764133') $result = WPCP_GDRIVE_API::copy_folder_recursive('1FCYkOJb150I8nl8DE92YIXWaB0J7VOk5', '1eedpdrZPBHpPKblQwa3khFcka1A2l0oL');