Tips on Customizing ShareThis Reaction Buttons

How to Hide the "ShareThis" Admin Menu

function plt_hide_sharethis_reaction_buttons_menus() {
	//Hide the "ShareThis" menu.
	remove_menu_page('sharethis-share-buttons');
}

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

Where do I put this code?

How to Hide the "Reaction Buttons" Meta Box

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

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

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