Tips on Customizing Events Management by Dawsun

How to Hide Events Management by Dawsun Admin Menus

function plt_hide_events_management_menus() {
	//Hide "Events Management".
	remove_menu_page('event-plugun');
	//Hide "Events Management → Events".
	remove_submenu_page('event-plugun', 'edit.php?post_type=plugun-event');
	//Hide "Events Management → Event Categories".
	remove_submenu_page('event-plugun', 'edit-tags.php?taxonomy=plugun-event-category');
	//Hide "Events Management → Event Tags".
	remove_submenu_page('event-plugun', 'edit-tags.php?taxonomy=plugun-event-tags');
	//Hide "Events Management → Tickets".
	remove_submenu_page('event-plugun', 'edit.php?post_type=plugun-ticket');
	//Hide "Events Management → Bookings".
	remove_submenu_page('event-plugun', 'edit.php?post_type=plugun-booking');
	//Hide "Events Management → Email Templates".
	remove_submenu_page('event-plugun', 'edit.php?post_type=plugun-template');
	//Hide "Events Management → Settings".
	remove_submenu_page('event-plugun', 'deplite-setting-general');
	//Hide "Events Management →".
	remove_submenu_page('event-plugun', 'deplite-setting-template');
	//Hide "Events Management →".
	remove_submenu_page('event-plugun', 'deplite-support');
}

add_action('admin_menu', 'plt_hide_events_management_menus', 1000);

Where do I put this code?

How to Hide Events Management by Dawsun Meta Boxes

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

	//Hide the "Event Location" meta box.
	remove_meta_box('event_location', $screen->id, 'normal');
	//Hide the "Event Tickets/Bookings" meta box.
	remove_meta_box('event_tickets', $screen->id, 'normal');
	//Hide the "Event Date & Time" meta box.
	remove_meta_box('event_date', $screen->id, 'side');
	//Hide the "Ticket Limits" meta box.
	remove_meta_box('ticket_limits', $screen->id, 'normal');
	//Hide the "Event" meta box.
	remove_meta_box('ticket_event', $screen->id, 'side');
	//Hide the "Ticket Pricing" meta box.
	remove_meta_box('ticket_pricing', $screen->id, 'side');
	//Hide the "Email Template Subject" meta box.
	remove_meta_box('template_subject', $screen->id, 'advanced');
	//Hide the "Email Template Parameters" meta box.
	remove_meta_box('template_params', $screen->id, 'normal');
	//Hide the "Booking Event Details" meta box.
	remove_meta_box('booking_event_details', $screen->id, 'normal');
	//Hide the "Booking Status" meta box.
	remove_meta_box('booking_status', $screen->id, 'side');
	//Hide the "Api Settings" meta box.
	remove_meta_box('api_settings', $screen->id, 'normal');
}

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

How to Hide the "Get Events Management Plugin Pro Version" Dashboard Widget

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

	//Remove the "Get Events Management Plugin Pro Version" widget.
	remove_meta_box('deplite_dashboard_widget', 'dashboard', 'normal');
}

add_action('wp_dashboard_setup', 'plt_hide_events_management_dashboard_widgets', 20);