Tips on Customizing YITH Essential Kit for WooCommerce #1

How to Hide YITH Essential Kit for WooCommerce #1 Admin Menus

function plt_hide_yith_essential_kit_for_woocommerce_1_menus() {
	//Hide the "YITH" menu.
	remove_menu_page('yith_plugin_panel');
	//Hide the "YITH → YITH Essential Kit for WooCommerce #1" menu.
	remove_submenu_page('yith_plugin_panel', 'yith-jetpack-modules1');
	//Hide the "YITH → System Status" menu.
	remove_submenu_page('yith_plugin_panel', 'yith_system_info');
}

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

Where do I put this code?

How to Hide YITH Essential Kit for WooCommerce #1 Dashboard Widgets

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

	//Remove the "YITH Latest Updates" widget.
	remove_meta_box('yith_dashboard_products_news', 'dashboard', 'normal');
	//Remove the "Latest news from YITH Blog" widget.
	remove_meta_box('yith_dashboard_blog_news', 'dashboard', 'normal');
}

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