Collection of code and plugins used for site development at a local level, and possibly dev environment.
- Add the plugin by cloning this repo into the
mu-pluginsfolder (client-mu-pluginsfolder in WPVIP site repos).- Although the above implementation is recommended, it can also be added as a regular plugin inside
pluginsfolder then activated in the WP admin.
- Although the above implementation is recommended, it can also be added as a regular plugin inside
- Copy the file
-dev-toolbox.phpfile inside the plugin folder to the root of themu-pluginsfolder (client-mu-pluginsfolder in WPVIP site repos). - Add
dev-toolboxfolder and-dev-toolbox.phpfile to the site repo's.gitignorefile.- If the plugin was instead implemented as a regular WP plugin, only the folder name needs to be added to the
.gitignorefile.
- If the plugin was instead implemented as a regular WP plugin, only the folder name needs to be added to the
- Define
WP_ENVconstant astruein thewp-config.phpfile.
- Should not be committed to a site's repo.
- Each file has it's own description. Read each to understand the use of each.