Piece of code that I use regularly to unregister a WordPress post type. Just add/edit/remove the post type from lines 3, 4 and 5 and paste in your functions.php file.
About Metal Potato
Metal Potato will help launch your website on-time, on-budget, on-message and en-route. Let's do launch!
https://metalpotato.com