okapi_current_hook

Синтаксис

native okapi_hook:okapi_current_hook();

Описание

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

Връщаща стойност

Handler to the hook

Грешка

Not inside a hook