Tips on Customizing WP Hotel Booking

How to Hide WP Hotel Booking Admin Menus

function plt_hide_wp_hotel_booking_menus() {
	//Hide "Rooms".
	remove_menu_page('edit.php?post_type=hb_room');
	//Hide "Rooms → Rooms".
	remove_submenu_page('edit.php?post_type=hb_room', 'edit.php?post_type=hb_room');
	//Hide "Rooms → Add New Room".
	remove_submenu_page('edit.php?post_type=hb_room', 'post-new.php?post_type=hb_room');
	//Hide "Rooms → Room Types".
	remove_submenu_page('edit.php?post_type=hb_room', 'edit-tags.php?taxonomy=hb_room_type&post_type=hb_room');

	//Hide "WP Hotel Booking".
	remove_menu_page('tp_hotel_booking');
	//Hide "WP Hotel Booking → Bookings Order".
	remove_submenu_page('tp_hotel_booking', 'edit.php?post_type=hb_booking');
	//Hide "WP Hotel Booking → Extra Options".
	remove_submenu_page('tp_hotel_booking', 'edit.php?post_type=hb_extra_room');
	//Hide "WP Hotel Booking → Coupons".
	remove_submenu_page('tp_hotel_booking', 'edit.php?post_type=hb_coupon');
	//Hide "WP Hotel Booking → Settings".
	remove_submenu_page('tp_hotel_booking', 'tp_hotel_booking_settings');
	//Hide "WP Hotel Booking → Calendar Manager".
	remove_submenu_page('tp_hotel_booking', 'tp_hotel_booking_calender_manager');
	//Hide "WP Hotel Booking → Tools".
	remove_submenu_page('tp_hotel_booking', 'wphb-tools');
}

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

Where do I put this code?

How to Hide WP Hotel Booking Meta Boxes

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

	//Hide the "Room Settings" meta box.
	remove_meta_box('room_settings', $screen->id, 'normal');
	//Hide the "Extra Settings" meta box.
	remove_meta_box('extra_settings', $screen->id, 'normal');
	//Hide the "Coupon Settings" meta box.
	remove_meta_box('coupon_settings', $screen->id, 'normal');
	//Hide the "Booking Details" meta box.
	remove_meta_box('hb-booking-details', $screen->id, 'advanced');
	//Hide the "Booking Items" meta box.
	remove_meta_box('hb-booking-items', $screen->id, 'advanced');
	//Hide the "Booking Actions" meta box.
	remove_meta_box('hb-booking-actions', $screen->id, 'side');
}

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