Action: RML/Folder/Relocated

do_action( 'RML/Folder/Relocated', $folder, $id, $order, $force, $oldData )

This action is called when a folder was relocated in the folder tree. That means the parent was not changed, only the order was changed.

Name Type Description
$folder IFolder

The folder object

$id int

The new parent folder id

$order int

The (new) order number

$force boolean

If true the relocating was forced

$oldData object

The old SQL row data (raw) of the folder