Action: RML/Folder/Relocate

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

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.
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
Since:
  • 4.0.7