Function wp_rml_move
Move or create shortcuts of a set of attachments to a specific folder.
If you copy attachments, the action called is also "RML/Item/Move"... but there is a paramter $isShortcut.
Located at
attachment.php
Parameters summary
integer |
$to |
Folder ID |
int[] |
$ids |
Array of attachment ids |
boolean |
$supress_validation = false |
Supress the permission validation |
boolean |
$isShortcut = false |
Determines, if the ID's are copies |
Return value summary
boolean|string[]
|
True or Array with errors |