How to Hide the "Ultimate GA" Admin Menu

function plt_hide_ultimate_google_analytics_menus() {
	//Hide the "Settings → Ultimate GA" menu.
	remove_submenu_page('options-general.php', 'ultimate_ga.php');
}

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

Where do I put this code?