-
-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to get the hookchain id in its callback #107
Comments
Bump |
Nobody will help you, because you didn't even read documentation. "Bump" will not work. |
Sorry for the bump. |
It will be good if we'll have stateful hooks in which you can pass userdata. |
Any progress? |
See plugins on ReAPI |
I see no plugins in which we can get hookchain id in the callback. |
|
That way I know. Actually, I wished to call a hookchain only once and disable it. So, I wished if the hookchain id was in callback so there was no need of an extra variable. |
Hey,
I want to register a hookchain on plugin_init and after its first callback, I want to disable that hookchain. Now, since I'm using it for single time don't it good to register a variable for that. Is it possible that with some function I can get hookchain id in its callback ?
The text was updated successfully, but these errors were encountered: