Action: RML/Folder/Moved

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

(Pro only) This action is called when a folder was moved in the folder tree. That means the parent and order was changed.
Parameters:
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
Since:
  • 4.12.1 This hook is only available in PRO-Version