How to Hide "Edit Permalink & View Post" buttons for Custom Post Type on Edit Screens
Hello Everyone! If you want hide the view button for custom post type then you can use this code. The following code will remove the edit permalink and view post button from your edit/add custom post type screens. In this example I have allowed for three different CPTs to be targeted but you can adjust this as needed.