Scaffold
wp scaffold taxonomy
Generates PHP code for registering a custom taxonomy. Synopsis wp scaffold taxonomy <slug> [--post_types=<post-types>] [--label=<label>] [--textdomain=<textdomain>] [--theme] [--plugin=<plugin>] [--raw] [--force]...
wp scaffold theme-tests
Generates files needed for running PHPUnit tests in a theme. Generated Files phpunit.xml.dist - PHPUnit configuration .circleci/config.yml - CircleCI configuration...
wp scaffold _s
Generates starter code for a theme based on _s. See the Underscores website for more details. Synopsis wp scaffold _s...
wp scaffold
Generates code for post types, taxonomies, plugins, child themes, etc. Subcommands Command Description wp scaffold block Generates PHP, JS and...
wp scaffold post-type
Generates PHP code for registering a custom post type. Synopsis wp scaffold post-type <slug> [--label=<label>] [--textdomain=<textdomain>] [--dashicon=<dashicon>] [--theme] [--plugin=<plugin>] [--raw]...
wp scaffold block
Generates PHP, JS and CSS code for registering a Gutenberg block for a plugin or theme. Warning: wp scaffold block...
wp scaffold child-theme
Generates child theme based on an existing theme. Creates a child theme folder with functions.php and style.css files. Synopsis wp...
wp scaffold plugin-tests
Generates files needed for running PHPUnit tests in a plugin. Generated Files phpunit.xml.dist - PHPUnit configuration .circleci/config.yml - CircleCI configuration...
wp scaffold plugin
Generates starter code for a plugin. Generated Files Always generated: plugin-slug.php - Main PHP plugin file readme.txt - Readme file...