How to Hide WP Google Maps Admin Menus

function plt_hide_wp_google_maps_menus() {
	//Hide "Maps".
	remove_menu_page('wp-google-maps-menu');
	//Hide "Maps → Maps".
	remove_submenu_page('wp-google-maps-menu', 'wp-google-maps-menu');
	//Hide "Maps → Settings".
	remove_submenu_page('wp-google-maps-menu', 'wp-google-maps-menu-settings');
	//Hide "Maps → Support".
	remove_submenu_page('wp-google-maps-menu', 'wp-google-maps-menu-support');
}

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

Where do I put this code?