How to Hide Backuply Admin Menus

function plt_hide_backuply_menus() {
	//Hide "Backuply".
	remove_menu_page('backuply');
	//Hide "Backuply → Dashboard".
	remove_submenu_page('backuply', 'backuply');
	//Hide "Backuply → Backuply Cloud".
	remove_submenu_page('backuply', 'backuply-license');
	//Hide "Backuply → Go Pro".
	remove_submenu_page('backuply', 'https://backuply.com/pricing?from=plugin');
}

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

Where do I put this code?