How to Hide NutsForPress Indexing and SEO Admin Menus

function plt_hide_nutsforpress_indexing_and_seo_menus() {
	//Hide the "NutsForPress" menu.
	remove_menu_page('nfproot-settings');
	//Hide the "NutsForPress → NutsForPress" menu.
	remove_submenu_page('nfproot-settings', 'nfproot-settings');
	//Hide the "NutsForPress → Indexing and SEO" menu.
	remove_submenu_page('nfproot-settings', 'nfpndx-settings');
}

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

Where do I put this code?