Tips on Customizing WPeMatico RSS Feed Fetcher

How to Hide WPeMatico Admin Menus

function plt_hide_wpematico_menus() {
	//Hide "Dashboard → WPeMatico About".
	remove_submenu_page('index.php', 'wpematico-about');
	//Hide "Plugins → WPeMatico Addons".
	remove_submenu_page('plugins.php', 'wpemaddons');

	//Hide "WPeMatico".
	remove_menu_page('edit.php?post_type=wpematico');
	//Hide "WPeMatico → All Campaigns".
	remove_submenu_page('edit.php?post_type=wpematico', 'edit.php?post_type=wpematico');
	//Hide "WPeMatico → Add New Campaign".
	remove_submenu_page('edit.php?post_type=wpematico', 'post-new.php?post_type=wpematico');
	//Hide "WPeMatico → Settings".
	remove_submenu_page('edit.php?post_type=wpematico', 'wpematico_settings');
	//Hide "WPeMatico → Tools".
	remove_submenu_page('edit.php?post_type=wpematico', 'wpematico_tools');
	//Hide "WPeMatico → Extensions".
	remove_submenu_page('edit.php?post_type=wpematico', 'plugins.php?page=wpemaddons');
}

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

Where do I put this code?

How to Hide the "WPeMatico Summary" Dashboard Widget

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

	//Remove the "WPeMatico Summary" widget.
	remove_meta_box('wpematico_widget', 'dashboard', 'normal');
}

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