Define Capabilities for custom post type in WP Admin

After setting Up the Membsers plugin we define capabilities for custom post types. For example , ‘book’ is a post type So we defines capabilities as given below-

  1. publish_books
  2. edit_published_books
  3. delete_published_books
  4. edit_others_books
  5. delete_others_books
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s