wonderwp/generator-wwp

There is no license information available for the latest version (2.3.0) of this package.

WonderWP Plugin Generator

Installs: 2 931

Dependents: 2

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 1

Type:wordpress-muplugin

2.3.0 2022-03-29 14:10 UTC

This package is auto-updated.

Last update: 2024-03-31 18:14:12 UTC


README

A WonderWp package that acts as a plugin generator to speed up your plugin developments.

Documentation

Documentation available here : http://wonderwp.net/Creating_a_plugin/Generator.html

Summary

Plugins

Generating a classic plugin

vendor/bin/wp generate-plugin --name="myPluginName" --desc="This is my plugin description" --namespace="WonderWp\Plugin\MyPluginNameSpace"

Generating a Custom Post Type Plugin

vendor/bin/wp generate-plugin --name="myPluginCPTName" --desc="This is my CPT plugin description" --namespace="WonderWp\Plugin\MyPluginCPTNameSpace" --output_type="CPT"

Themes

Generating a classic theme

vendor/bin/wp generate-theme --name="myTheme" --namespace="WonderWp\Theme\MyTheme"

  • Generating a block theme

vendor/bin/wp generate-theme --name="myBlockTheme" --namespace="WonderWp\Theme\MyBlockTheme" --output_type="block"