okapi_current_hook

Syntax

native okapi_hook:okapi_current_hook();

Description

Gets the hook that is currently being called.
This is meant to be used inside a hook (when you want to remove it there).

Return

Handler to the hook

Error

Not inside a hook