How to Hide LoginPress - Customizing the WordPress Login Admin Menus

function plt_hide_loginpress_menus() {
	//Hide "Appearance → LoginPress".
	remove_submenu_page('themes.php', 'abw');

	//Hide "LoginPress".
	remove_menu_page('loginpress-settings');
	//Hide "LoginPress → Settings".
	remove_submenu_page('loginpress-settings', 'loginpress-settings');
	//Hide "LoginPress → Customizer".
	remove_submenu_page('loginpress-settings', 'loginpress');
	//Hide "LoginPress → Help".
	remove_submenu_page('loginpress-settings', 'loginpress-help');
	//Hide "LoginPress → Import / Export".
	remove_submenu_page('loginpress-settings', 'loginpress-import-export');
	//Hide "LoginPress → Add-Ons".
	remove_submenu_page('loginpress-settings', 'loginpress-addons');
}

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

Where do I put this code?