Tips on Customizing CP Image Store with Slideshow

How to Hide CP Image Store with Slideshow Admin Menus

function plt_hide_cp_image_store_menus() {
	//Hide "Settings → Image Store".
	remove_submenu_page('options-general.php', 'image-store-menu-settings-page');

	//Hide "Image Store".
	remove_menu_page('image-store-menu');
	//Hide "Image Store → Images for Sale".
	remove_submenu_page('image-store-menu', 'edit.php?post_type=cpis_image');
	//Hide "Image Store → Store Settings".
	remove_submenu_page('image-store-menu', 'image-store-menu-settings');
	//Hide "Image Store → Importing Area".
	remove_submenu_page('image-store-menu', 'image-store-menu-import');
	//Hide "Image Store → Sales Report".
	remove_submenu_page('image-store-menu', 'image-store-menu-reports');
	//Hide "Image Store → Authors".
	remove_submenu_page('image-store-menu', 'edit-tags.php?taxonomy=cpis_author');
	//Hide "Image Store → Color Schemes".
	remove_submenu_page('image-store-menu', 'edit-tags.php?taxonomy=cpis_color');
	//Hide "Image Store → Types".
	remove_submenu_page('image-store-menu', 'edit-tags.php?taxonomy=cpis_type');
	//Hide "Image Store → Categories".
	remove_submenu_page('image-store-menu', 'edit-tags.php?taxonomy=cpis_category');
}

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

Where do I put this code?

How to Hide the "Image's data" Meta Box

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

	//Hide the "Image's data" meta box.
	remove_meta_box('cpis_image_metabox', $screen->id, 'normal');
}

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