Custom post type interface
dingo-d opened this issue · 0 comments
dingo-d commented
We could throw in an interface for custom post type creation.
Interface could have post_type_slug
, post_type_rewrite
, taxonomy_slug
properties and register_post_type()
and register_taxonomy()
methods necessary for CPT creation.
Then if someone wants to register the CPT he/she just implements this interface and create his own CPT.