function plt_hide_auto_robot_menus() { //Hide the "Auto Robot" menu. remove_menu_page('auto-robot'); } add_action('admin_menu', 'plt_hide_auto_robot_menus', 1000000000);
Where do I put this code?