function plt_hide_bugerator_menus() { //Hide the "Settings → Bugerator" menu. remove_submenu_page('options-general.php', 'bugerator_menu'); } add_action('admin_menu', 'plt_hide_bugerator_menus', 11);
Where do I put this code?