A starter template for WordPress plugins, with autoloading, namespaces and object caching (where available).
This is a boilerplate WordPress plugin featuring namespace autoloading and Carbon Fields examples. It is intended to be used as a starting point for creating WordPress plugins. It contains several examples and dependencies to get you started.
It may also be used as the means of separating custom code from the theme or extending a child theme.
Here are some ways that you can contribute:
npm run zip
.pot
) creation. See Translation.wp-config.php
constants
.env
files (reference)If you need tips on installing Node.js, Composer, Gulp & Bower, see Installing Dependencies.
plugins
directorynpm install; gulp rename; composer install
bower install; gulp;
You'll want to delete features that you don't like (such as references to TGMPA if you don't need it).
wp-content/plugins
directory.git clone https://github.com/dmhendricks/wordpress-base-plugin.git
wordpress-base-plugin
directory to your own plugin slug.See the Getting Started documentation for further steps.
uninstall.php