How to disable categories/most used in ‘add new post’?
remove_meta_box removes the whole Categories box. The Most used tab don’t have any hook. Don’t modify WordPress core files, there’s always a way to modify WP behavior without touching the core. /** * Place the script in the theme’s functions.php file */ add_action( ‘admin_head-post-new.php’, ‘wpse_70874_hide_most_used_cats’ ); add_action( ‘admin_head-post.php’, ‘wpse_70874_hide_most_used_cats’ ); function wpse_70874_hide_most_used_cats() { // This … Read more