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