Tips on Customizing Client Dash

How to Hide Client Dash Admin Menus

function plt_hide_client_dash_menus() {
	//Hide "Dashboard → Account".
	remove_submenu_page('index.php', 'cd_account');
	//Hide "Dashboard → Help".
	remove_submenu_page('index.php', 'cd_help');
	//Hide "Dashboard → Reports".
	remove_submenu_page('index.php', 'cd_reports');
	//Hide "Dashboard → Admin Page".
	remove_submenu_page('index.php', 'cd_admin_page');

	//Hide "Client Dash".
	remove_menu_page('clientdash');
	//Hide "Client Dash → Customize Admin".
	remove_submenu_page('clientdash', 'http://127.0.0.1/?clientdash_customize=1');
	//Hide "Client Dash → Admin Page".
	remove_submenu_page('clientdash', 'clientdash_admin_page');
	//Hide "Client Dash → Helper Pages".
	remove_submenu_page('clientdash', 'clientdash_helper_pages');
	//Hide "Client Dash → Settings".
	remove_submenu_page('clientdash', 'clientdash_settings');
	//Hide "Client Dash → Addons".
	remove_submenu_page('clientdash', 'clientdash_addons');
}

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

Where do I put this code?

How to Hide Client Dash Dashboard Widgets

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

	//Remove the "Account" widget.
	remove_meta_box('cd_account', 'dashboard', 'normal');
	//Remove the "Help" widget.
	remove_meta_box('cd_help', 'dashboard', 'normal');
	//Remove the "Reports" widget.
	remove_meta_box('cd_reports', 'dashboard', 'normal');
	//Remove the "Admin Page" widget.
	remove_meta_box('cd_admin_page', 'dashboard', 'normal');
}

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