Tips on Customizing WordPress Travel Booking Plugin – WP Travel Engine

How to Hide WordPress Travel Booking Plugin - WP Travel Engine Admin Menus

function plt_hide_wp_travel_engine_menus() {
	//Hide "Trips".
	remove_menu_page('edit.php?post_type=trip');
	//Hide "Trips → All Trips".
	remove_submenu_page('edit.php?post_type=trip', 'edit.php?post_type=trip');
	//Hide "Trips → Add New".
	remove_submenu_page('edit.php?post_type=trip', 'post-new.php?post_type=trip');
	//Hide "Trips → Destinations".
	remove_submenu_page('edit.php?post_type=trip', 'edit-tags.php?taxonomy=destination&post_type=trip');
	//Hide "Trips → Activities".
	remove_submenu_page('edit.php?post_type=trip', 'edit-tags.php?taxonomy=activities&post_type=trip');
	//Hide "Trips → Trip Type".
	remove_submenu_page('edit.php?post_type=trip', 'edit-tags.php?taxonomy=trip_types&post_type=trip');

	//Hide "WP Travel Engine".
	remove_menu_page('edit.php?post_type=booking');
	//Hide "WP Travel Engine → All Bookings".
	remove_submenu_page('edit.php?post_type=booking', 'edit.php?post_type=booking');
	//Hide "WP Travel Engine → All Customers".
	remove_submenu_page('edit.php?post_type=booking', 'edit.php?post_type=customer');
	//Hide "WP Travel Engine → All Enquiries".
	remove_submenu_page('edit.php?post_type=booking', 'edit.php?post_type=enquiry');
	//Hide "WP Travel Engine → Plugin License".
	remove_submenu_page('edit.php?post_type=booking', 'wp_travel_engine_license_page');
	//Hide "WP Travel Engine → Extensions".
	remove_submenu_page('edit.php?post_type=booking', 'extensions');
	//Hide "WP Travel Engine → Themes".
	remove_submenu_page('edit.php?post_type=booking', 'themes');
	//Hide "WP Travel Engine → Settings".
	remove_submenu_page('edit.php?post_type=booking', 'class-wp-travel-engine-admin.php');
}

add_action('admin_menu', 'plt_hide_wp_travel_engine_menus', 1000000000);

Where do I put this code?

How to Hide WordPress Travel Booking Plugin - WP Travel Engine Meta Boxes

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

	//Hide the "WP Travel Engine - Trip Settings" meta box.
	remove_meta_box('trip_pricing_id', $screen->id, 'normal');
	//Hide the "" meta box.
	remove_meta_box('trip_tab_id', $screen->id, 'normal');
	//Hide the "Enquiry details" meta box.
	remove_meta_box('enquiry_tab_id', $screen->id, 'normal');
	//Hide the "Booking Details" meta box.
	remove_meta_box('booking_details_id', $screen->id, 'normal');
	//Hide the "Paypal Payment Details" meta box.
	remove_meta_box('pay_id', $screen->id, 'side');
	//Hide the "Customer Details" meta box.
	remove_meta_box('customer_id', $screen->id, 'normal');
	//Hide the "Customer History" meta box.
	remove_meta_box('customer_history_id', $screen->id, 'normal');
}

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