gnu-social/plugins/README.md
chimo 39462c3a2e Documentation about plugins
* Content in plugins/doc/Plugin_development.md from:
https://web.archive.org/web/20140821102047/http://status.net/wiki/HOWTO_Make_a_Plugin

* Point link on Plugins Admin Panel page to plugins/README.md
2015-06-14 11:59:46 -04:00

22 lines
723 B
Markdown

Several example plugins are included in the plugins/ directory. You
can enable a plugin with the following line in config.php:
```php
addPlugin('Example', array('param1' => 'value1',
'param2' => 'value2'));
```
This will look for and load files named 'ExamplePlugin.php' or
'Example/ExamplePlugin.php' either in the plugins/ directory (for
plugins that ship with StatusNet) or in the local/ directory (for
plugins you write yourself or that you get from somewhere else) or
local/plugins/.
Plugins are documented in their own directories.
Additional information on using and developing plugins can be found
at the following locations:
[Plugin Development](doc/Plugin_development.md)