Tips on Customizing WP Travel

How to Hide WP Travel Admin Menus

function plt_hide_wp_travel_menus() {
	//Hide "WP Travel".
	remove_menu_page('edit.php?post_type=itinerary-booking');
	//Hide "WP Travel → Bookings".
	remove_submenu_page('edit.php?post_type=itinerary-booking', 'edit.php?post_type=itinerary-booking');
	//Hide "WP Travel → Coupons".
	remove_submenu_page('edit.php?post_type=itinerary-booking', 'edit.php?post_type=wp-travel-coupons');
	//Hide "WP Travel → Enquiries".
	remove_submenu_page('edit.php?post_type=itinerary-booking', 'edit.php?post_type=itinerary-enquiries');
	//Hide "WP Travel → Trip Extras".
	remove_submenu_page('edit.php?post_type=itinerary-booking', 'edit.php?post_type=tour-extras');
	//Hide "WP Travel → Downloads".
	remove_submenu_page('edit.php?post_type=itinerary-booking', 'download_upsell_page');
	//Hide "WP Travel → Reports".
	remove_submenu_page('edit.php?post_type=itinerary-booking', 'booking_chart');
	//Hide "WP Travel → Settings".
	remove_submenu_page('edit.php?post_type=itinerary-booking', 'settings');
	//Hide "WP Travel → Marketplace".
	remove_submenu_page('edit.php?post_type=itinerary-booking', 'wp-travel-marketplace');

	//Hide "Trips".
	remove_menu_page('edit.php?post_type=itineraries');
	//Hide "Trips → All Trips".
	remove_submenu_page('edit.php?post_type=itineraries', 'edit.php?post_type=itineraries');
	//Hide "Trips → New Trip".
	remove_submenu_page('edit.php?post_type=itineraries', 'post-new.php?post_type=itineraries');
	//Hide "Trips → Trip Types".
	remove_submenu_page('edit.php?post_type=itineraries', 'edit-tags.php?taxonomy=itinerary_types&post_type=itineraries');
	//Hide "Trips → Destinations".
	remove_submenu_page('edit.php?post_type=itineraries', 'edit-tags.php?taxonomy=travel_locations&post_type=itineraries');
	//Hide "Trips → Keywords".
	remove_submenu_page('edit.php?post_type=itineraries', 'edit-tags.php?taxonomy=travel_keywords&post_type=itineraries');
	//Hide "Trips → Activities".
	remove_submenu_page('edit.php?post_type=itineraries', 'edit-tags.php?taxonomy=activity&post_type=itineraries');
}

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

Where do I put this code?

How to Hide WP Travel Meta Boxes

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

	//Hide the "Booking Detail View All  Bookings" meta box.
	remove_meta_box('wp-travel-booking-info', $screen->id, 'normal');
	//Hide the "Payment Detail" meta box.
	remove_meta_box('wp-travel-itinerary-payment-detail', $screen->id, 'normal');
	//Hide the "Payment Info" meta box.
	remove_meta_box('wp-travel-itinerary-single-payment-detail', $screen->id, 'side');
	//Hide the "Enquiry Details View All  enquiries" meta box.
	remove_meta_box('wp-travel-enquiries-info', $screen->id, 'normal');
	//Hide the "Coupon Options" meta box.
	remove_meta_box('wp-travel-coupons-detail', $screen->id, 'normal');
	//Hide the "Trip Detail" meta box.
	remove_meta_box('wp-travel-itineraries-detail', $screen->id, 'normal');
	//Hide the "Trip Extras" meta box.
	remove_meta_box('tour-extras-detail', $screen->id, 'normal');
}

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