Tips on Customizing Smash Balloon Social Photo Feed – Easy Social Feeds Plugin

How to Hide Smash Balloon Instagram Feed Admin Menus

function plt_hide_instagram_feed_menus() {
	//Hide "Instagram Feed".
	remove_menu_page('sb-instagram-feed');
	//Hide "Instagram Feed → Setup".
	remove_submenu_page('sb-instagram-feed', 'sbi-setup');
	//Hide "Instagram Feed → All Feeds".
	remove_submenu_page('sb-instagram-feed', 'sbi-feed-builder');
	//Hide "Instagram Feed → Settings".
	remove_submenu_page('sb-instagram-feed', 'sbi-settings');
	//Hide "Instagram Feed → Instagram Feed".
	remove_submenu_page('sb-instagram-feed', 'sb-instagram-feed');
	//Hide "Instagram Feed → oEmbeds".
	remove_submenu_page('sb-instagram-feed', 'sbi-oembeds-manager');
	//Hide "Instagram Feed → About Us".
	remove_submenu_page('sb-instagram-feed', 'sbi-about-us');
	//Hide "Instagram Feed → Support".
	remove_submenu_page('sb-instagram-feed', 'sbi-support');
	//Hide "Instagram Feed → Upgrade to Pro".
	remove_submenu_page('sb-instagram-feed', 'https://smashballoon.com/instagram-feed/?utm_campaign=instagram-free&utm_source=menu-link&utm_medium=upgrade-link&utm_content=UpgradeToPro');
	//Hide "Instagram Feed → TikTok FeedsNew!".
	remove_submenu_page('sb-instagram-feed', 'admin.php?page=sbtt');
	//Hide "Instagram Feed → Reviews Feed".
	remove_submenu_page('sb-instagram-feed', 'admin.php?page=sbr');
	//Hide "Instagram Feed → Facebook Feed".
	remove_submenu_page('sb-instagram-feed', 'admin.php?page=cff-builder');
	//Hide "Instagram Feed → Twitter Feed".
	remove_submenu_page('sb-instagram-feed', 'admin.php?page=sb-instagram-feed&tab=more');
	//Hide "Instagram Feed → YouTube Feed".
	remove_submenu_page('sb-instagram-feed', 'admin.php?page=sb-instagram-feed&tab=more');
}

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

Where do I put this code?

How to Hide the "Smash Balloon Feeds" Dashboard Widget

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

	//Remove the "Smash Balloon Feeds" widget.
	remove_meta_box('sb_dashboard_widget', 'dashboard', 'normal');
}

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