Users running a non-download version of Vanilla (pulled from github), on branch release/2019.016 or master from the last 2 weeks should upgrade to release/2019.017 or latest master for security reasons. Downloaded official open sources releases are not affected.

Is there a plugin API reference?

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:

Comments

  • 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.