Tips on Customizing Seamless Donations: A Platform for Global Fundraising and Rebuilding using Stripe and PayPal

How to Hide Seamless Donations Admin Menus

function plt_hide_seamless_donations_menus() {
	//Hide "Donors".
	remove_menu_page('edit.php?post_type=donor');
	//Hide "Donations".
	remove_menu_page('edit.php?post_type=donation');

	//Hide "Funds".
	remove_menu_page('edit.php?post_type=funds');
	//Hide "Funds → Funds".
	remove_submenu_page('edit.php?post_type=funds', 'edit.php?post_type=funds');
	//Hide "Funds → Add New".
	remove_submenu_page('edit.php?post_type=funds', 'post-new.php?post_type=funds');

	//Hide "Seamless Donations".
	remove_menu_page('seamless_donations_tab_main');
	//Hide "Seamless Donations → Seamless Donations".
	remove_submenu_page('seamless_donations_tab_main', 'seamless_donations_tab_main');
	//Hide "Seamless Donations → Thank You Templates".
	remove_submenu_page('seamless_donations_tab_main', 'seamless_donations_tab_templates');
	//Hide "Seamless Donations → Thank You Page".
	remove_submenu_page('seamless_donations_tab_main', 'seamless_donations_tab_thanks');
	//Hide "Seamless Donations → Form Options".
	remove_submenu_page('seamless_donations_tab_main', 'seamless_donations_tab_forms');
	//Hide "Seamless Donations → Add-ons".
	remove_submenu_page('seamless_donations_tab_main', 'seamless_donations_tab_addons');
	//Hide "Seamless Donations → Settings".
	remove_submenu_page('seamless_donations_tab_main', 'seamless_donations_tab_settings');
	//Hide "Seamless Donations → Licenses".
	remove_submenu_page('seamless_donations_tab_main', 'seamless_donations_tab_licenses');
	//Hide "Seamless Donations → Logs".
	remove_submenu_page('seamless_donations_tab_main', 'seamless_donations_tab_logs');
}

add_action('admin_menu', 'plt_hide_seamless_donations_menus', 1000);

Where do I put this code?

How to Hide Seamless Donations Meta Boxes

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

	//Hide the "Donor Information" meta box.
	remove_meta_box('seamless_donations_cpt_donor_metabox', $screen->id, 'normal');
	//Hide the "Fund Information" meta box.
	remove_meta_box('seamless_donations_cpt_funds5_metabox', $screen->id, 'normal');
	//Hide the "Donation Information" meta box.
	remove_meta_box('seamless_donations_cpt_donation5_metabox', $screen->id, 'normal');
}

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