How to Hide Active Directory Integration for Intranet Sites Admin Menus

function plt_hide_ldap_login_for_intranet_sites_menus() {
	//Hide the "LDAP/AD Login for Intranet" menu.
	remove_menu_page('mo_ldap_local_login');
	//Hide the "LDAP/AD Login for Intranet → LDAP/AD Login for Intranet" menu.
	remove_submenu_page('mo_ldap_local_login', 'mo_ldap_local_login');
	//Hide the "LDAP/AD Login for Intranet → Licensing Plans" menu.
	remove_submenu_page('mo_ldap_local_login', 'mo_ldap_local_login&tab=pricing');
}

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

Where do I put this code?