Tips on Customizing Comments – wpDiscuz

How to Hide wpDiscuz Admin Menus

function plt_hide_wpdiscuz_menus() {
	//Hide "wpDiscuz".
	remove_menu_page('wpdiscuz');
	//Hide "wpDiscuz →  Dashboard".
	remove_submenu_page('wpdiscuz', 'wpdiscuz');
	//Hide "wpDiscuz →  Settings".
	remove_submenu_page('wpdiscuz', 'wpdiscuz_options_page');
	//Hide "wpDiscuz →  Phrases".
	remove_submenu_page('wpdiscuz', 'wpdiscuz_phrases_page');
	//Hide "wpDiscuz →  Tools".
	remove_submenu_page('wpdiscuz', 'wpdiscuz_tools_page');
	//Hide "wpDiscuz →  Addons".
	remove_submenu_page('wpdiscuz', 'wpdiscuz_addons_page');
	//Hide "wpDiscuz →  Forms".
	remove_submenu_page('wpdiscuz', 'edit.php?post_type=wpdiscuz_form');
}

add_action('admin_menu', 'plt_hide_wpdiscuz_menus', 875);

Where do I put this code?

How to Hide wpDiscuz Meta Boxes

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

	//Hide the "Reset Ratings" meta box.
	remove_meta_box('wpd_reset_ratings', $screen->id, 'side');
	//Hide the "Custom CSS" meta box.
	remove_meta_box('wpd_form_custom_css', $screen->id, 'side');
}

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