function plt_hide_custom_taxonomy_order_ne_menus() { //Hide the "Tools → Term Order" menu. remove_submenu_page('tools.php', 'customtaxorder'); } add_action('admin_menu', 'plt_hide_custom_taxonomy_order_ne_menus', 11);
Where do I put this code?