Tips on Customizing Ultimate Appointment Booking & Scheduling

How to Hide Ultimate Appointment Scheduling Admin Menus

function plt_hide_ultimate_appointment_scheduling_menus() {
	//Hide "Appointments".
	remove_menu_page('ewd-uasp-appointments');
	//Hide "Appointments → Dashboard".
	remove_submenu_page('ewd-uasp-appointments', 'ewd-uasp-dashboard');
	//Hide "Appointments → Appointments".
	remove_submenu_page('ewd-uasp-appointments', 'ewd-uasp-appointment-submenu');
	//Hide "Appointments → Locations".
	remove_submenu_page('ewd-uasp-appointments', 'edit.php?post_type=uasp-location');
	//Hide "Appointments → Services".
	remove_submenu_page('ewd-uasp-appointments', 'edit.php?post_type=uasp-service');
	//Hide "Appointments → Service Providers".
	remove_submenu_page('ewd-uasp-appointments', 'edit.php?post_type=uasp-provider');
	//Hide "Appointments → Exceptions".
	remove_submenu_page('ewd-uasp-appointments', 'edit.php?post_type=uasp-exception');
	//Hide "Appointments → Export".
	remove_submenu_page('ewd-uasp-appointments', 'ewd-uasp-export');
	//Hide "Appointments → Import".
	remove_submenu_page('ewd-uasp-appointments', 'ewd-uasp-import');
	//Hide "Appointments → About Us".
	remove_submenu_page('ewd-uasp-appointments', 'ewd-uasp-about-us');
	//Hide "Appointments → Settings".
	remove_submenu_page('ewd-uasp-appointments', 'ewd-uasp-settings');
}

add_action('admin_menu', 'plt_hide_ultimate_appointment_scheduling_menus', 100);

Where do I put this code?

How to Hide Ultimate Appointment Scheduling Meta Boxes

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

	//Hide the "Exception Details" meta box.
	remove_meta_box('uasp-exception', $screen->id, 'normal');
	//Hide the "Location Details" meta box.
	remove_meta_box('uasp-location', $screen->id, 'normal');
	//Hide the "Need Help?" meta box.
	remove_meta_box('ewd_uasp_meta_need_help', $screen->id, 'side');
	//Hide the "Service Details" meta box.
	remove_meta_box('uasp-service', $screen->id, 'normal');
	//Hide the "Service Provider Details" meta box.
	remove_meta_box('uasp-provider', $screen->id, 'normal');
}

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