Tips on Customizing Modern Events Calendar Lite

How to Hide Modern Events Calendar Lite Admin Menus

function plt_hide_modern_events_calendar_lite_menus() {
	//Hide "M.E. Calendar".
	remove_menu_page('mec-intro');
	//Hide "M.E. Calendar → M.E. Calendar".
	remove_submenu_page('mec-intro', 'mec-intro');
	//Hide "M.E. Calendar → All Events".
	remove_submenu_page('mec-intro', 'edit.php?post_type=mec-events');
	//Hide "M.E. Calendar → Add Event".
	remove_submenu_page('mec-intro', 'post-new.php?post_type=mec-events');
	//Hide "M.E. Calendar → Tags".
	remove_submenu_page('mec-intro', 'edit-tags.php?taxonomy=post_tag&post_type=mec-events');
	//Hide "M.E. Calendar → Categories".
	remove_submenu_page('mec-intro', 'edit-tags.php?taxonomy=mec_category&post_type=mec-events');
	//Hide "M.E. Calendar → Labels".
	remove_submenu_page('mec-intro', 'edit-tags.php?taxonomy=mec_label&post_type=mec-events');
	//Hide "M.E. Calendar → Locations".
	remove_submenu_page('mec-intro', 'edit-tags.php?taxonomy=mec_location&post_type=mec-events');
	//Hide "M.E. Calendar → Organizers".
	remove_submenu_page('mec-intro', 'edit-tags.php?taxonomy=mec_organizer&post_type=mec-events');
	//Hide "M.E. Calendar → Shortcodes".
	remove_submenu_page('mec-intro', 'edit.php?post_type=mec_calendars');
	//Hide "M.E. Calendar → Settings".
	remove_submenu_page('mec-intro', 'MEC-settings');
	//Hide "M.E. Calendar → Addons".
	remove_submenu_page('mec-intro', 'MEC-addons');
	//Hide "M.E. Calendar → Go Pro".
	remove_submenu_page('mec-intro', 'MEC-go-pro');
	//Hide "M.E. Calendar → Import / Export".
	remove_submenu_page('mec-intro', 'MEC-ix');
	//Hide "M.E. Calendar → Support".
	remove_submenu_page('mec-intro', 'MEC-support');
}

add_action('admin_menu', 'plt_hide_modern_events_calendar_lite_menus', 22);

Where do I put this code?

How to Hide Modern Events Calendar Lite Meta Boxes

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

	//Hide the "Event Details" meta box.
	remove_meta_box('mec_metabox_details', $screen->id, 'normal');
	//Hide the "Event Color" meta box.
	remove_meta_box('mec_metabox_color', $screen->id, 'side');
	//Hide the "Event Labels" meta box.
	remove_meta_box('mec_metabox_label', $screen->id, 'side');
	//Hide the "Display Options" meta box.
	remove_meta_box('mec_calendar_display_options', $screen->id, 'normal');
	//Hide the "Filter Options" meta box.
	remove_meta_box('mec_calendar_filter', $screen->id, 'normal');
	//Hide the "Shortcode" meta box.
	remove_meta_box('mec_calendar_shortcode', $screen->id, 'side');
	//Hide the "Search Form" meta box.
	remove_meta_box('mec_calendar_search_form', $screen->id, 'side');
}

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

How to Hide the "Modern Events Calendar" Dashboard Widget

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

	//Remove the "Modern Events Calendar" widget.
	remove_meta_box('mec_widget_news_features', 'dashboard', 'normal');
}

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