Skip to main content
Create a folder with a minimal plugin file. If no arguments or options are passed to the command, they can be entered interactively.

Usage

Arguments

string
required
Name of the plugin.
string
This will be the folder name and the slug of the plugin. If you don’t specify the slug, the name will be used to create one.

Options

The options allow you to set the information in your plugin’s header (see the WordPress documentation).
string
Plugin URI plugin header
string
Description plugin header
string
default:"1.0.0"
Version plugin header
string
Requires at least plugin header
string
Requires PHP plugin header
string
default:"<Organization Name>"
Author plugin header
string
default:"<Organization Website>"
Author URI plugin header
string
License plugin header
string
License URI plugin header
string
Text Domain plugin header
string
Domain Path plugin header
string
Network plugin header
boolean
Do not ask any interactive question

Examples