Foo Bar Plugin for WordPress
init-plugin.sh bash script to scaffold a new plugin. The script will enter an interactive shell on your host machine and copy this plugin while making necessary string replacements:
init-plugin.sh script will be removed from the generated plugin. You should also update your
readme.txt and add/change any of the config files your project may need, read more about your options in the
To use Coveralls Pro with your private repository you will need to change the
travis-pro, and add the
COVERALLS_REPO_TOKEN to the settings in Travis CI. If you don't want to use Coveralls then you will need to delete the
.coveralls.yml and remove
npm run test:js:coveralls step from the script section in the
When adding a new class you should instantiate it in
Plugin::init and inject
Plugin as a dependency. There is a
Sample class inside the
php directory that demonstrates this behavior and how doc hooks work.
- Upload the folder to the
- Activate the plugin through the 'Plugins' menu in WordPress.
Frequently Asked Questions
A question that someone might have
An answer to that question.
Look at this demo photo!
For the plugin’s changelog, please see the Releases page on GitHub.