Currently I am using UltimateMember for our subscribers. I also have a CPT called Companies and created an ACF relationship field to Companies CPT for users.
When a user registers, we have to go in and approve their membership and then assign them to a company.
Is there a way to automatically assign them to a Company based on their domain? For instance if their email address is @gmail.com, it would automatically select Google as their company in the ACF relationship field.