Tips on Customizing Interactive Image Map Plugin – Draw Attention

How to Hide Draw Attention Admin Menus

function plt_hide_draw_attention_menus() {
	//Hide "Draw Attention".
	remove_menu_page('edit.php?post_type=da_image');
	//Hide "Draw Attention → Edit Image".
	remove_submenu_page('edit.php?post_type=da_image', 'edit.php?post_type=da_image');
	//Hide "Draw Attention → Import / Export".
	remove_submenu_page('edit.php?post_type=da_image', 'import_export');
	//Hide "Draw Attention → Upgrade to Pro".
	remove_submenu_page('edit.php?post_type=da_image', 'da_upgrade_to_pro');
}

add_action('admin_menu', 'plt_hide_draw_attention_menus', 21);

Where do I put this code?

How to Hide Draw Attention Meta Boxes

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

	//Hide the "Copy Shortcode" meta box.
	remove_meta_box('da_shortcode', $screen->id, 'side');
	//Hide the "Newsletter" meta box.
	remove_meta_box('DrawAttention_Newsletter', $screen->id, 'side');
	//Hide the "Apply Color Scheme" meta box.
	remove_meta_box('da_theme_pack', $screen->id, 'side');
	//Hide the "Image" meta box.
	remove_meta_box('drag_to_upload', $screen->id, 'side');
	//Hide the "Highlight Styling" meta box.
	remove_meta_box('highlight_styling_metabox', $screen->id, 'normal');
	//Hide the "More Info Box Styling" meta box.
	remove_meta_box('moreinfo_metabox', $screen->id, 'normal');
}

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