How to Hide Show Google Analytics widget Admin Menus

function plt_hide_show_google_analytics_widget_menus() {
	//Hide the "Settings → 設定GA帳號參數" menu.
	remove_submenu_page('options-general.php', 'sig-ga-account');
	//Hide the "本月份GA資訊" menu.
	remove_menu_page('sig-view-ga');
}

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

Where do I put this code?