Tips on Customizing MapPress Maps for WordPress

How to Hide the "MapPress" Admin Menu

function plt_hide_mappress_google_maps_for_wordpress_menus() {
	//Hide the "MapPress" menu.
	remove_menu_page('mappress');
}

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

Where do I put this code?

How to Hide the "MapPress" Meta Box

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

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

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