Tips on Customizing Word Count Analysis

How to Hide the "Word C&A" Admin Menu

function plt_hide_word_count_analysis_menus() {
	//Hide the "Word C&A" menu.
	remove_menu_page('wca_dashboard');
}

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

Where do I put this code?

How to Hide the "Word Count and Analysis Overview" Dashboard Widget

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

	//Remove the "Word Count and Analysis Overview" widget.
	remove_meta_box('wca_dashboard_widget', 'dashboard', 'normal');
}

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