do_action( 'RML/Item/Move', $fid, $attachments, $folder, $isShortcut )
This action is fired before items gets moved to a specific folder. It allows you for example to throw an exception with an error message to cancel the movement.
Parameters:
Name | Type | Description |
---|---|---|
$fid |
int | The destination folder id |
$attachments |
Array.<int> | The attachment post ids |
$folder |
IFolder | The folder object |
$isShortcut |
boolean | If true the attachments are copied to a folder |