How to Hide Loco Translate Admin Menus

function plt_hide_loco_translate_menus() {
	//Hide "Loco Translate".
	remove_menu_page('loco');
	//Hide "Loco Translate → Home".
	remove_submenu_page('loco', 'loco');
	//Hide "Loco Translate → Themes".
	remove_submenu_page('loco', 'loco-theme');
	//Hide "Loco Translate → Plugins".
	remove_submenu_page('loco', 'loco-plugin');
	//Hide "Loco Translate → WordPress".
	remove_submenu_page('loco', 'loco-core');
	//Hide "Loco Translate → Languages".
	remove_submenu_page('loco', 'loco-lang');
	//Hide "Loco Translate → Settings".
	remove_submenu_page('loco', 'loco-config');
	//Hide "Loco Translate → Debug".
	remove_submenu_page('loco', 'loco-debug');
}

add_action('admin_menu', 'plt_hide_loco_translate_menus', 12);

Where do I put this code?