This package provides a skeleton to start building Wordpress plugins
- Download this repository
- Add it to your Wordpress plugins folder
- Makes sure to swap out any default namings to your vendor name and plugin name
- Everything in the src directory is being autoloaded by composer
- Actions & filters can be registered in
Skeleton.php
like so:
$this->loader->add_action('action_name', new MyClass, 'handle', 10, 2);
$this->loader->add_filter('filter_name', new MyOtherClass, 'handle', 10, 2);
This works just the same as the default Wordpress functions but with a nice wrapper to be object-oriented.
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.