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