How to Hide The GDPR Framework Admin Menus

function plt_hide_gdpr_framework_menus() {
	//Hide the "Dashboard →" menu.
	remove_submenu_page('index.php', 'gdpr-setup');
	//Hide the "Users → Privacy Tools" menu.
	remove_submenu_page('users.php', 'gdpr-profile');
	//Hide the "Tools → Data443 GDPR" menu.
	remove_submenu_page('tools.php', 'privacy');
}

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

Where do I put this code?