Tips on Customizing Check & Log Email – Easy Email Testing & Mail logging

How to Hide Check & Log Email - Easy Email Testing & Mail logging Admin Menus

function plt_hide_check_email_menus() {
	//Hide "Check  Log Email".
	remove_menu_page('check-email-status');
	//Hide "Check  Log Email → Dashboard".
	remove_submenu_page('check-email-status', 'check-email-dashboard');
	//Hide "Check  Log Email → Email Logs".
	remove_submenu_page('check-email-status', 'check-email-logs');
	//Hide "Check  Log Email → Test Email".
	remove_submenu_page('check-email-status', 'check-email-status');
	//Hide "Check  Log Email → Spam Analyzer".
	remove_submenu_page('check-email-status', 'spam-analyzer');
	//Hide "Check  Log Email → Error Tracker".
	remove_submenu_page('check-email-status', 'check-email-error-tracker');
	//Hide "Check  Log Email → Settings".
	remove_submenu_page('check-email-status', 'check-email-settings');
	//Hide "Check  Log Email → Help  Support".
	remove_submenu_page('check-email-status', 'http://127.0.0.1/wp-admin/admin.php?page=check-email-settings&tab=support');
	//Hide "Check  Log Email → Premium Features".
	remove_submenu_page('check-email-status', 'javasctipt:void(0);');
	//Hide "Check  Log Email → Upgrade To Premium".
	remove_submenu_page('check-email-status', 'javasctipt:void(0);');
}

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

Where do I put this code?

How to Hide Check & Log Email - Easy Email Testing & Mail logging Dashboard Widgets

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

	//Remove the "Check  Log Email Activity" widget.
	remove_meta_box('checmail_dashboard_widget', 'dashboard', 'normal');
	//Remove the "Check Email Summary" widget.
	remove_meta_box('check_email_dashboard_widget', 'dashboard', 'normal');
}

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