Tips on Customizing Simple Sponsorships

How to Hide Simple Sponsorships Admin Menus

function plt_hide_simple_sponsorships_menus() {
	//Hide "Sponsorships".
	remove_menu_page('edit.php?post_type=sponsors');
	//Hide "Sponsorships → Sponsors".
	remove_submenu_page('edit.php?post_type=sponsors', 'edit.php?post_type=sponsors');
	//Hide "Sponsorships → Add Sponsor".
	remove_submenu_page('edit.php?post_type=sponsors', 'post-new.php?post_type=sponsors');
	//Hide "Sponsorships → Packages".
	remove_submenu_page('edit.php?post_type=sponsors', 'ss-packages');
	//Hide "Sponsorships → Sponsorships".
	remove_submenu_page('edit.php?post_type=sponsors', 'ss-sponsorships');
	//Hide "Sponsorships → Settings".
	remove_submenu_page('edit.php?post_type=sponsors', 'ss-settings');
}

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

Where do I put this code?

How to Hide Simple Sponsorships Meta Boxes

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

	//Hide the "Add Sponsors" meta box.
	remove_meta_box('content-sponsor', $screen->id, 'side');
	//Hide the "Information" meta box.
	remove_meta_box('sponsor-info', $screen->id, 'advanced');
	//Hide the "Sponsoring" meta box.
	remove_meta_box('sponsoring', $screen->id, 'advanced');
}

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