How to Hide Duplicator Admin Menus

function plt_hide_duplicator_menus() {
	//Hide "Duplicator".
	remove_menu_page('duplicator');
	//Hide "Duplicator → Packages".
	remove_submenu_page('duplicator', 'duplicator');
	//Hide "Duplicator → Tools".
	remove_submenu_page('duplicator', 'duplicator-tools');
	//Hide "Duplicator → Settings".
	remove_submenu_page('duplicator', 'duplicator-settings');
	//Hide "Duplicator → Go Pro!".
	remove_submenu_page('duplicator', 'duplicator-gopro');
}

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

Where do I put this code?