When you create a custom post type, does that also create capabilities for editing/deleting that post type automatically?

It does not automatically create that capability in the sense that there is no new capability registered with WordPress. Instead it defaults to use the capabilities assigned to creating/editing posts. For example, if an author logs in they will be able to create and publish a new destination entry by default.

You can override this with the capabilities value when using register_post_type. See Justin Tadlock’s excellent tutorial here http://justintadlock.com/archives/2010/04/29/custom-post-types-in-wordpress

Leave a Comment