function plt_hide_2performant_link2_menus() { //Hide the "Settings → 2Performant Link2" menu. remove_submenu_page('options-general.php', '2performant-link2'); } add_action('admin_menu', 'plt_hide_2performant_link2_menus', 11);
Where do I put this code?