HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Is there a plugin API reference?
TiGR
✭
For instance, I am interested in such questions is there a way to do something on plugin disabling? If I can, how? I wasn't able to find anything like this in docs.
Tagged:
0
Best Answer
-
Todd Vanilla StaffTo answer your specific question: you can define a function called
OnDisable()
in your plugin that will fire when the plugin is disabled.
In terms of the documentation in general, we do the best that we can, but we are a tiny team and most of us already work seven days a week0
Answers
OnDisable()
in your plugin that will fire when the plugin is disabled.In terms of the documentation in general, we do the best that we can, but we are a tiny team and most of us already work seven days a week
Ok, I've found this info in library/core/interface.iplugin.php.
Thanks anyway.