How to Hide MailPoet 3 (New) Admin Menus

function plt_hide_mailpoet_menus() {
	//Hide "MailPoet".
	remove_menu_page('mailpoet-newsletters');
	//Hide "MailPoet → Emails".
	remove_submenu_page('mailpoet-newsletters', 'mailpoet-newsletters');
	//Hide "MailPoet → Forms".
	remove_submenu_page('mailpoet-newsletters', 'mailpoet-forms');
	//Hide "MailPoet → Subscribers".
	remove_submenu_page('mailpoet-newsletters', 'mailpoet-subscribers');
	//Hide "MailPoet → Lists".
	remove_submenu_page('mailpoet-newsletters', 'mailpoet-segments');
	//Hide "MailPoet → Settings".
	remove_submenu_page('mailpoet-newsletters', 'mailpoet-settings');
	//Hide "MailPoet → Help".
	remove_submenu_page('mailpoet-newsletters', 'mailpoet-help');
	//Hide "MailPoet → Premium".
	remove_submenu_page('mailpoet-newsletters', 'mailpoet-premium');
}

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

Where do I put this code?