Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Try Vanilla Forums Cloud product

In this Discussion

Is there a plugin API reference?

edited June 2011 in Development
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.


  • ToddTodd Chief Product Officer Vanilla Staff
    To 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 week :)
  • Maybe you could just generate documentation based on PHPDoc?

    Ok, I've found this info in library/core/interface.iplugin.php.

    Thanks anyway.
Sign In or Register to comment.