Tips on Customizing Disable updates, Updates manager, Disable automatic updates

How to Hide Webcraftic Updates manager Admin Menus

function plt_hide_webcraftic_updates_manager_menus() {
	//Hide "Settings → Updates manager".
	remove_submenu_page('options-general.php', 'updates-wbcr_updates_manager');
	//Hide "Plugins".
	remove_menu_page('plugins-wbcr_updates_manager');
	//Hide "Themes".
	remove_menu_page('themes-wbcr_updates_manager');
	//Hide "Advanced".
	remove_menu_page('updates_advanced-wbcr_updates_manager');
	//Hide "More features (free)".
	remove_menu_page('more_features-wbcr_updates_manager');
}

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

Where do I put this code?

How to Hide the "Webcraftic Updates Manager News" Dashboard Widget

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

	//Remove the "Webcraftic Updates Manager News" widget.
	remove_meta_box('wbcr-factory-adverts-widget', 'dashboard', 'normal');
}

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