Tips on Customizing Gallery Blocks with Lightbox. Image Gallery, (HTML5 video , YouTube, Vimeo) Video Gallery and Lightbox for native gallery

How to Hide SimpLy Gallery Block & Lightbox Admin Menus

function plt_hide_simply_gallery_block_menus() {
	//Hide "SimpLy Gallery".
	remove_menu_page('edit.php?post_type=pgc_simply_gallery');
	//Hide "SimpLy Gallery → Galleries".
	remove_submenu_page('edit.php?post_type=pgc_simply_gallery', 'edit.php?post_type=pgc_simply_gallery');
	//Hide "SimpLy Gallery → Albums".
	remove_submenu_page('edit.php?post_type=pgc_simply_gallery', 'edit-tags.php?taxonomy=pgc_simply_category&post_type=pgc_simply_gallery');
	//Hide "SimpLy Gallery → Albums Preset".
	remove_submenu_page('edit.php?post_type=pgc_simply_gallery', 'pgc-simply-albums-presets');
	//Hide "SimpLy Gallery → Blocks Presets".
	remove_submenu_page('edit.php?post_type=pgc_simply_gallery', 'pgc-simply-presets');
	//Hide "SimpLy Gallery → Lightbox for native WordPress Gallery".
	remove_submenu_page('edit.php?post_type=pgc_simply_gallery', 'pgc-simply-lightbox-options');
	//Hide "SimpLy Gallery → FEATURES  FAQ".
	remove_submenu_page('edit.php?post_type=pgc_simply_gallery', 'pgc-simply-welcome');
	//Hide "SimpLy Gallery → Contact Us".
	remove_submenu_page('edit.php?post_type=pgc_simply_gallery', 'simply-gallery-block-contact');
	//Hide "SimpLy Gallery → Support Forum".
	remove_submenu_page('edit.php?post_type=pgc_simply_gallery', 'simply-gallery-block-wp-support-forum');
	//Hide "SimpLy Gallery → Upgrade".
	remove_submenu_page('edit.php?post_type=pgc_simply_gallery', 'simply-gallery-block-pricing');
}

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

Where do I put this code?

How to Hide the "SimpLy Gallery" Dashboard Widget

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

	//Remove the "SimpLy Gallery" widget.
	remove_meta_box('pgc_sgb_dashboard_widget', 'dashboard', 'normal');
}

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