For the complete documentation index, see llms.txt. This page is also available as Markdown.

copy_folder_recursive()

Copy a folder recursively

copy_folder_recursive()

This method will copy the contents of an folder into another folder.

Not supported. Use copy() instead.

Parameters

Name
Type
Description

$folder_id

string

ID of the folder containing the files that should be copied.

$target_id

string

ID of the folder where the files should be copied to.

Return

Name
Type
Description

$result

bool

The result of the copy operation.

Usage

WPCP_GDRIVE_API::set_account_by_id('201096615285735764133')

$result = WPCP_GDRIVE_API::copy_folder_recursive('1FCYkOJb150I8nl8DE92YIXWaB0J7VOk5', '1eedpdrZPBHpPKblQwa3khFcka1A2l0oL');

Not supported. Use copy() instead.

Not supported. Use copy() instead.

Last updated