hook_menu_delete($menu)Informs modules that a custom menu was deleted.
This hook is used to notify modules that a custom menu along with all links contained in it (if any) has been deleted. Contributed modules may use the information to perform actions based on the information entered into the menu system.
@see hook_menu_update()
$link An array representing a custom menu:
modules/menu/menu.api.php, line 465
<?php
function hook_menu_delete($menu) {
// Delete the record from our variable.
$my_menus = variable_get('my_module_menus', array());
unset($my_menus[$menu['menu_name']]);
variable_set('my_module_menus', $my_menus);
}
?>