How to Remove Default Category Metabox in Custom Post Types
I have approached this situation by using jQuery and CSS (this is code from a project that’s been in production for a few years that I generalized): // Admin Styles function style_custom_taxonomy_admin() { if (is_admin() && $_GET[‘taxonomy’] === ‘TAXONOMY’) { add_action(‘admin_footer’, function() { echo ‘<style>/* Custom admin styles */</style>’; echo ‘<script>jQuery(document).ready(function($){ $(“h2:contains(\”Heading to be hidden\”)”).length.remove(); … Read more