Tips on Customizing Social Sharing Buttons, Related Posts, Google Analytics – Shareaholic

How to Hide Shareaholic - Grow and Engage Your Audience Admin Menus

function plt_hide_shareaholic_menus() {
	//Hide "Shareaholic".
	remove_menu_page('shareaholic-settings');
	//Hide "Shareaholic → Dashboard".
	remove_submenu_page('shareaholic-settings', 'shareaholic-settings');
	//Hide "Shareaholic → Dashboard [legacy]".
	remove_submenu_page('shareaholic-settings', 'shareaholic-settings-legacy');
	//Hide "Shareaholic → Settings".
	remove_submenu_page('shareaholic-settings', 'shareaholic-advanced');
	//Hide "Shareaholic → Upgrade".
	remove_submenu_page('shareaholic-settings', 'shareaholic-premium');
}

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

Where do I put this code?

How to Hide the "Shareaholic" Meta Box

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

	//Hide the "Shareaholic" meta box.
	remove_meta_box('shareaholic', $screen->id, 'side');
}

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