Tips on Customizing Copy Anything to Clipboard

How to Hide Copy Anything to Clipboard Admin Menus

function plt_hide_copy_the_code_menus() {
	//Hide "Settings → Copy to Clipboard".
	remove_submenu_page('options-general.php', 'edit.php?post_type=copy-to-clipboard');
	//Hide "Settings → → Add New".
	remove_submenu_page('options-general.php', 'copy-the-code');
	//Hide "Settings → Contact Us".
	remove_submenu_page('options-general.php', 'copy-the-code-contact');
	//Hide "Settings → Support Forum".
	remove_submenu_page('options-general.php', 'copy-the-code-wp-support-forum');
	//Hide "Settings → Upgrade".
	remove_submenu_page('options-general.php', 'copy-the-code-pricing');
}

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

Where do I put this code?

How to Hide the "Settings" Meta Box

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

	//Hide the "Settings" meta box.
	remove_meta_box('copy-the-code-meta-box', $screen->id, 'normal');
}

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