wp scaffold plugin <slug>
Generates starter code for a plugin
Arguments
Name | Description |
---|
slug | The internal name of the plugin |
Options
Name | Description |
---|
--dir <dirname> | Put the new plugin in some arbitrary directory path. Plugin directory will be path plus supplied slug |
--plugin_name <title> | What to put in the ‘Plugin Name:’ header |
--plugin_description <description> | What to put in the ‘Description:’ header |
--plugin_author <author> | What to put in the ‘Author:’ header |
--plugin_author_uri <uri> | What to put in the ‘Author URI:’ header |
--plugin_uri <uri> | What to put in the ‘Plugin URI:’ header |
--skip-tests | Don’t generate files for unit testing |
--ci <provider> | Choose a configuration file for a continuous integration provider |
--activate | Activate the newly created plugin |
--enable-network | Network activate the newly generated plugin |
--force | Overwrite files that already exist |