Tips on Customizing 3D Product Customizer

How to Hide 3D Product Customizer Admin Menus

function plt_hide_3d_product_customizer_menus() {
	//Hide "3D Product Customizer".
	remove_menu_page('dprcu-settings');
	//Hide "3D Product Customizer → 3D Product Customizer".
	remove_submenu_page('dprcu-settings', 'dprcu-settings');
	//Hide "3D Product Customizer → Model Textures".
	remove_submenu_page('dprcu-settings', 'edit.php?post_type=dprcu_model_texture');
	//Hide "3D Product Customizer → Texture Categories".
	remove_submenu_page('dprcu-settings', 'edit-tags.php?taxonomy=dprcu_texture_category&post_type=dprcu_model_texture');
	//Hide "3D Product Customizer → Contact Us".
	remove_submenu_page('dprcu-settings', 'dprcu-settings-contact');
	//Hide "3D Product Customizer → Upgrade".
	remove_submenu_page('dprcu-settings', 'dprcu-settings-pricing');
}

add_action('admin_menu', 'plt_hide_3d_product_customizer_menus', 1000000000);

Where do I put this code?

How to Hide 3D Product Customizer Meta Boxes

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

	//Hide the "Optional Texture Maps" meta box.
	remove_meta_box('dprcu_texture_maps', $screen->id, 'normal');
	//Hide the "Material Preview" meta box.
	remove_meta_box('dprcu_texture_preview', $screen->id, 'side');
	//Hide the "Color Swatch" meta box.
	remove_meta_box('dprcu_texture_color_swatch', $screen->id, 'side');
	//Hide the "3D Configurator" meta box.
	remove_meta_box('dprcu_config_metabox', $screen->id, 'normal');
}

add_action('add_meta_boxes', 'plt_hide_3d_product_customizer_metaboxes', 20);