A WordPress Plugin Boilerplate
composer create-project ralfhortt/wordpress-plugin-boilerplate my-plugin
- Edit the plugin header in
plugin.php
- Replace namespace
RalfHortt/WordPressPluginBoilerplate
with your own - Update autoloader namespace in
composer.json
- Replace textdomain
wordpress-plugin-boilerplate
with your own
- Services: Add a custom service in
src
- Function: Add custom function in
inc/functions.php
- Template Tags: Add custom template tags in
inc/template-tags.php
- update dependencies
- Initial release