Tips on Customizing FluentSMTP – WP SMTP Plugin with Amazon SES, SendGrid, MailGun, Postmark, Google and Any SMTP Provider

How to Hide the "FluentSMTP" Admin Menu

function plt_hide_fluent_smtp_menus() {
	//Hide the "Settings → FluentSMTP" menu.
	remove_submenu_page('options-general.php', 'fluent-mail');
}

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

Where do I put this code?

How to Hide the "Fluent SMTP" Dashboard Widget

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

	//Remove the "Fluent SMTP" widget.
	remove_meta_box('fluentsmtp_reports_widget', 'dashboard', 'normal');
}

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