function plt_hide_jc_importer_menus() { //Hide the "Tools → Import WP" menu. remove_submenu_page('tools.php', 'importwp'); } add_action('admin_menu', 'plt_hide_jc_importer_menus', 11);
Where do I put this code?