Title: Disable Custom Post Type View Post
Last modified: August 30, 2016

---

# Disable Custom Post Type View Post

 *  Resolved [RBX](https://wordpress.org/support/users/rbx/)
 * (@rbx)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/disable-custom-post-type-view-post/)
 * I have a custom post type for which I’ve set `'public' => false` and `'show_ui'
   => true`, and option to view this post has been removed from most places, but
   when I publish or update it, the success message still shows link to view post.
   How can I remove that?

Viewing 1 replies (of 1 total)

 *  [John Parris](https://wordpress.org/support/users/mindctrl/)
 * (@mindctrl)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/disable-custom-post-type-view-post/#post-6530918)
 * Hi there,
 * Check out this answer for a hint: [http://wordpress.stackexchange.com/a/119088](http://wordpress.stackexchange.com/a/119088)

Viewing 1 replies (of 1 total)

The topic ‘Disable Custom Post Type View Post’ is closed to new replies.

## Tags

 * [custom post type](https://wordpress.org/support/topic-tag/custom-post-type/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [John Parris](https://wordpress.org/support/users/mindctrl/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/disable-custom-post-type-view-post/#post-6530918)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
