Tips on Customizing Image Gallery by Robo – Responsive Photo Gallery

How to Hide Robo Gallery Admin Menus

function plt_hide_robo_gallery_menus() {
	//Hide "Robo Gallery".
	remove_menu_page('edit.php?post_type=robo_gallery_table');
	//Hide "Robo Gallery → Manage Galleries".
	remove_submenu_page('edit.php?post_type=robo_gallery_table', 'edit.php?post_type=robo_gallery_table');
	//Hide "Robo Gallery → Add Gallery / Images".
	remove_submenu_page('edit.php?post_type=robo_gallery_table', 'post-new.php?post_type=robo_gallery_table&showDialog=1');
	//Hide "Robo Gallery → Overview".
	remove_submenu_page('edit.php?post_type=robo_gallery_table', 'overview');
	//Hide "Robo Gallery → Pro Version".
	remove_submenu_page('edit.php?post_type=robo_gallery_table', 'robo-gallery-gopro');
	//Hide "Robo Gallery → Support".
	remove_submenu_page('edit.php?post_type=robo_gallery_table', 'robo-gallery-support');
	//Hide "Robo Gallery → Gallery Demo".
	remove_submenu_page('edit.php?post_type=robo_gallery_table', 'robo-gallery-demo');
	//Hide "Robo Gallery → Video Guides".
	remove_submenu_page('edit.php?post_type=robo_gallery_table', 'robo-gallery-guides');
	//Hide "Robo Gallery → Settings".
	remove_submenu_page('edit.php?post_type=robo_gallery_table', 'robo-gallery-settings');
	//Hide "Robo Gallery → Add-ons".
	remove_submenu_page('edit.php?post_type=robo_gallery_table', 'robo_gallery_table-addons');
}

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

Where do I put this code?

How to Hide Robo Gallery Meta Boxes

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

	//Hide the "" meta box.
	remove_meta_box('', $screen->id, 'advanced');
	//Hide the "Current Gallery Type" meta box.
	remove_meta_box('robo-gallery-theme-type', $screen->id, 'normal');
	//Hide the "Images" meta box.
	remove_meta_box('robo_gallery_field_images_ver2', $screen->id, 'normal');
}

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