Action: RML/Folder/Predeletion

do_action( 'RML/Folder/Predeletion', $folder )

This action is fired before a folder gets deleted. It allows you for example to throw an exception if the deletion should be stopped with an error message.

Parameters:
Name Type Description
$folder IFolder

The folder object