WordPress plugin to restrict user registration to specific email domains

Running a client-only community — registration should only succeed for people with a company email domain (@yourclient.com). Is there a lightweight plugin to enforce this without a full membership plugin?

0 28
vapvarun vapvarun 0 5 months ago

Restrict Email Domain does exactly this in under 200 lines. Configure allowed domains in Settings, and WordPress registration rejects emails that do not match. Multiple domains supported via a comma-separated list, with optional subdomain wildcards. Error messages are customizable so members see a clear reason when rejected. Plays well with BuddyPress registration, WooCommerce customer signup, and any other registration surface that funnels through the core wp_insert_user flow.