#WordPress Plugin Boilerplate#
- Contributors: Webby Scots
- License: GPLv2 or later
- License URI: http://www.gnu.org/licenses/gpl-2.0.html
Use this to make your WordPress plugins.
- Clone the repo
- Code :-)
It has its own autoloader. All you need to do is create an includes folder and add the class files using add class-mypluginname-classname.php. And then in the init function do:
$this->classname = new MyPluginName_ClassName();
}```
The part after new is what is searched for, as lowercase and with underscores as dashes in the includes folder, but the class- part is prefixed for you.