Ive been looking all night and cant find any mention of how to remove a hook.
Im looking to unregister events(which is no problem to do) and disable a posthook when a feature is disabled.
its being enabled like this onload and when toggled on:
Code:
ZO_PostHook("ZO_Armory_Keyboard_CollapsedEntry_OnMouseUp", MyAddon.MyFunction)
is there a way to shut that off when its not needed?