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

Vanilla 2.6 is here! It includes security fixes and requires PHP 7.0. We have therefore ALSO released Vanilla 2.5.2 with security patches if you are still on PHP 5.6 to give you additional time to upgrade.

Is there a plugin API reference?

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

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.