function plt_hide_admin_toolbox_menus() { //Hide the "Tools → Admin Toolbox" menu. remove_submenu_page('tools.php', 'admin-toolbox'); } add_action('admin_menu', 'plt_hide_admin_toolbox_menus', 11);
Where do I put this code?