This is free and unencumbered software released into the public domain.
For more information, please refer to https://unlicense.org
This is the complete source code for the MantisBT Developers Guide's Example Plugin, as described in the documentation's Building a Plugin section.
Feel free to reuse all or part of this code as a starting point to build your own MantisBT Plugins.
Should you find errors in this code or have suggestions to improve it, feel free to report an issue on the MantisBT issues tracker.
If you have questions about Plugins development, please head over to the MantisBT Forums.
This code was originally written by John Reese back in 2010, as part of the MantisBT 1.2 documentation; it was adapted to MantisBT 2.x by Damien Regad.