How to Hide the "Eagle Eye" Admin Menu

function plt_hide_eagle_eye_menus() {
	//Hide the "Plugins → Eagle Eye" menu.
	remove_submenu_page('plugins.php', 'eagle_eye.php');
}

add_action('admin_menu', 'plt_hide_eagle_eye_menus', 11);

Where do I put this code?