function plt_hide_the_permalinker_menus() { //Hide the "Dashboard → Permalinker Help" menu. remove_submenu_page('index.php', 'permalinker_help'); } add_action('admin_menu', 'plt_hide_the_permalinker_menus', 11);
Where do I put this code?