The folder path where the new folder should be created
($params)
array
Additional Parameters. Use ['autorename' => true] to automatically rename the folder if a folder with the same name already exists.
Return
Name
Type
Description
$entry
Entry
The object for the new folder.
Usage
WPCP_DROPBOX_API::set_account_by_id('dbid:AADSy6JxzbgqCs4A43CAAAfO9xvZwpcsLU');
// Create a new folder
$entry = WPCP_DROPBOX_API::create_folder('Documents', '/Path/to/Client/Folder');
Parameters
Name
Type
Description
$new_name
string
The name of the folder to be created.
$parent_id
string
ID of the folder where the new folder should be created.
Return
Name
Type
Description
$node
CachedNode
The cached object for the new created folder.
Usage
WPCP_BOX_API::set_account_by_id('29232154182');
// Create a new folder
$node = WPCP_BOX_API::create_folder('Documents', '511426724354');