remove_hook

omni.kit.menu.utils.scripts.remove_hook(callback: Callable)

remove a menu modification callback hook callback is function to be called when menus are re-generated