Tips on Customizing Cryptoniq – Cryptocurrency Decentralized Payment Gateway

How to Hide the "Install Plugins" Admin Menu

function plt_hide_cryptoniq_lite_menus() {
	//Hide the "Plugins → Install Plugins" menu.
	remove_submenu_page('plugins.php', 'tgmpa-install-plugins');
}

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

Where do I put this code?

How to Hide the "Cryptoniq" Meta Box

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

	//Hide the "Cryptoniq" meta box.
	remove_meta_box('cryptoniq-meta-box', $screen->id, 'advanced');
}

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