Registering an optional custom post type from a plugin

Registering an optional custom post type from a plugin