Delete “Post Published. View Post” for custom post type
Something like above should work: add_filter( ‘post_updated_messages’, ‘post_published’ ); function post_published( $messages ) { if ( ‘important_dates’ === get_post_type() ){ unset($messages[‘posts’][6]); } return $messages; }