[ad_1]
[ad_2]
I want to create a site where I only want limited companies or organisations to be able to register an account. What’s the best way? Is there a way to validate company registration number in forms? Any advice would be appreciated 🙂
Copyright © 2020 - 2022, Project DMC - WordPress Tutorials for Beginners- All Rights Reserved. Privacy Policy
Various membership plugins, like BuddyBoss, MemberPress, CozmoLabs Profile Builder, have ways to whitelist or blacklist email domain names. There isn’t a way to validate that a company exists, unless your country has a company registration database with publicly accessible API query system – so the simplest method is to just block [hotmail.com](https://hotmail.com), [outlook.com](https://outlook.com), [gmail.com](https://gmail.com), etc.
A follow up question. Do you need the user to have WordPress capabilities? Make posts? Edit content? This can have a large impact on the architecture
MemberPress has an addon specifically for use with corporate accounts. And you can put a policy in place that validates new member accounts by email domains.
BuddyBoss is a community plugin and would rely on its integration with MemberPress to handle the corporate memberships.