Tips on Customizing WP Church Center

How to Hide WP Church Center Admin Menus

function plt_hide_wp_church_center_menus() {
	//Hide "Church Center".
	remove_menu_page('edit.php?post_type=card');
	//Hide "Church Center → All Cards".
	remove_submenu_page('edit.php?post_type=card', 'edit.php?post_type=card');
	//Hide "Church Center → Add Card".
	remove_submenu_page('edit.php?post_type=card', 'post-new.php?post_type=card');
	//Hide "Church Center → Card Groups".
	remove_submenu_page('edit.php?post_type=card', 'edit-tags.php?taxonomy=card_group&post_type=card');
	//Hide "Church Center → Your Church Center".
	remove_submenu_page('edit.php?post_type=card', 'http://127.0.0.1/card/');
	//Hide "Church Center → Center Settings".
	remove_submenu_page('edit.php?post_type=card', 'http://127.0.0.1/wp-admin/customize.php?url=http://127.0.0.1/card/&autofocus[panel]=WP_Church_Center');
	//Hide "Church Center → FB Support Group".
	remove_submenu_page('edit.php?post_type=card', 'https://www.facebook.com/groups/wpchurchcenter/');
}

add_action('admin_menu', 'plt_hide_wp_church_center_menus', 100);

Where do I put this code?

How to Hide WP Church Center Meta Boxes

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

	//Hide the "Card Presentation" meta box.
	remove_meta_box('acf-group_661ba619e4ab5', $screen->id, 'side');
	//Hide the "Card Content" meta box.
	remove_meta_box('acf-acf_card-content', $screen->id, 'normal');
	//Hide the "Card Presentation" meta box.
	remove_meta_box('acf-group_661ba61f94c55', $screen->id, 'side');
}

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