Skip to content

Latest commit

 

History

History

cpt

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

generator-plugin-wp CPT Sub-generator

yo plugin-wp:cpt <cpt-name>

Creates a skeleton custom post type using CPT_Core.

You can optionally include CMB2 by using the --cmb2 option when running the subgenerator.

Refer to CPT_Core for more details on extending the CPT_Core class.