/wp-plugin

Base WordPress plugin scaffold.

Primary LanguagePHPGNU General Public License v3.0GPL-3.0

  • Replace BigBox\Plugin with your namespace
  • Replace PLUGIN constant with your constant prefix
  • Replace 'plugin' text domain with your text domain
  • Replace 'plugin_ function prefixes with your function prefix

Plugin

WordPress plugin base.

Install

Clone Repository

$ git clone git@github.com:bigboxwc/wp-plugin wp-plugin && cd wp-plugin

Setup Plugin

$ npm run setup-plugin

Develop

$ npm run dev

Lint

Javascript

$ npm run lint

CSS

$ npm run css-lint

PHP

$ composer run lint

Release

$ npm run package-plugin