Tips on Customizing geo2wp

How to Hide Phototools: geo2wp Admin Menus

function plt_hide_geo2wp_menus() {
	//Hide the "Phototools" menu.
	remove_menu_page('phototools');
	//Hide the "Phototools → Phototools" menu.
	remove_submenu_page('phototools', 'phototools');
	//Hide the "Phototools → Geo2wp" menu.
	remove_submenu_page('phototools', 'geo2wp');
}

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

Where do I put this code?

How to Hide the "Photo location" Meta Box

function plt_hide_geo2wp_metaboxes() {
	$screen = get_current_screen();
	if ( !$screen ) {
		return;
	}

	//Hide the "Photo location" meta box.
	remove_meta_box('geolocation_box', $screen->id, 'side');
}

add_action('add_meta_boxes', 'plt_hide_geo2wp_metaboxes', 20);