A WordPress Client Plugin Boilerplate
composer create-project ralfhortt/wordpress-client-plugin-boilerplate my-plugin
npm installoryarn- Edit the plugin header in
plugin.php - Replace namespace
RalfHortt/WordPressClientPluginBoilerplatewith your own - Update autoloader namespace in
composer.json - Replace textdomain
wordpress-client-plugin-boilerplatewith 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
npm run watchfor development- Add custom blocks in
assets/js/blocks npm run productionfor published code
- Update dependencies
- Initial release