Tips on Customizing Product Slider for WooCommerce by PickPlugins

How to Hide Product Slider for WooCommerce by PickPlugins Admin Menus

function plt_hide_woocommerce_products_slider_menus() {
	//Hide "WCPS".
	remove_menu_page('edit.php?post_type=wcps');
	//Hide "WCPS → All WCPS".
	remove_submenu_page('edit.php?post_type=wcps', 'edit.php?post_type=wcps');
	//Hide "WCPS → Add WCPS".
	remove_submenu_page('edit.php?post_type=wcps', 'post-new.php?post_type=wcps');
	//Hide "WCPS → All WCPS layouts".
	remove_submenu_page('edit.php?post_type=wcps', 'edit.php?post_type=wcps_layout');
	//Hide "WCPS → Settings".
	remove_submenu_page('edit.php?post_type=wcps', 'settings');
	//Hide "WCPS → Import layouts".
	remove_submenu_page('edit.php?post_type=wcps', 'import_layouts');
}

add_action('admin_menu', 'plt_hide_woocommerce_products_slider_menus', 13);

Where do I put this code?

How to Hide Product Slider for WooCommerce by PickPlugins Meta Boxes

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

	//Hide the "WCPS data" meta box.
	remove_meta_box('metabox-wcps', $screen->id, 'normal');
	//Hide the "WCPS Help" meta box.
	remove_meta_box('metabox-wcps-side', $screen->id, 'side');
	//Hide the "Layout data" meta box.
	remove_meta_box('metabox-wcps-layout', $screen->id, 'normal');
}

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