Open registration works for most WordPress sites. But if you’re running a private community, a beta program, or an invitation-only membership, you need to control exactly who gets in.
The Invite Codes add-on in User Registration & Membership lets you restrict registration to users you’ve personally invited – you may also see this called a sign-up code or an access code, since different plugins use different names for the same mechanic. Every registrant must enter a valid code before their account is created – you set the codes, the usage limits, and the expiry dates.
This guide sticks with “invitation code” and “invite code” since that’s the field name in User Registration & Membership, but everything below applies whether you think of it as a sign-up code or an access code system.
How We Verified This Guide
Every field name and setting label below was checked directly against the Invite Codes add-on’s own source code on September 3, 2026 — not just the plugin’s marketing page or readme. That’s a deliberate choice: plugin docs and readmes can lag behind what an add-on’s settings screen actually shows, so we verify against the code itself before publishing setup steps.
If the plugin’s UI ever changes and something below no longer matches what you see, let us know in the comments and we’ll get it corrected.
When Invite Codes Make Sense for Your WordPress Site
Before jumping into setup, here are the scenarios where invite-only registration solves a real problem.
Private communities. You’re building a community around a topic, brand, or interest group and want to maintain quality over quantity. Invite codes ensure every member was personally invited or vetted before joining.
Referral and affiliate programs. Give each referrer a unique code and track exactly how many signups their code generates. The usage count per code tells you who’s driving the most registrations.
Corporate and team portals. You need only employees, clients, or partners to register on your site. Distribute codes internally through email or an onboarding document – nobody outside the organization can sign up without one.
Exclusive events and cohort programs. Run a course, workshop, or program that’s limited to a specific group. Codes control enrollment numbers and prevent late or unauthorized access.
Video Tutorial
If you’d rather follow along via video, here’s a full visual walkthrough of how to create an invite-only user registration system in WordPress using the User Registration & Membership plugin.
Or continue reading for the full step-by-step walkthrough:
How to Create Invite-Only Registration Forms in WordPress
To set up invite-based registration in your WordPress site, you need User Registration & Membership plugin with a Plus plan or higher.
This unlocks the premium Invite Codes add-on that allows you to:
- Enable Invite Code block for registration form
- Create single-use or bulk invite codes
- Set limit on the usage of invite codes
- Set validity period of invite codes
So, if you don’t have an active subscription, get it from User Registration & Membership pricing page.
💡 For developers: if you’d rather not use a plugin, you can build code-gated registration yourself with
wp_insert_user()and a custom field that checks a submitted code before creating the account. It’s more work than the steps below, but it’s an option if you’re already writing a custom registration or event sign-up form without a plugin.
1. Install the User Registration & Membership Pro Plugin
Once you purchase to a User Registration & Membership Pro plan, you’ll receive login credentials for WPEverest account.
- From the Downloads tab of your WPEverest Dashboard, download the latest zip file for User Registration & Membership.
- Then in your WordPress Dashboard, go to Plugins > Add New.
- Click Upload Plugin and upload the plugin ZIP file you just downloaded.
- Click Install Now, then Activate.
You can find a detailed guide on installing and setting up the User Registration plugin here.
2. Install and Activate the Invite Codes Add-on
After you’ve installed User Registration & Membership Pro, open the Dashboard >> All Features tab on your WordPress dashboard.
You’ll end up on the same page if you navigate to User Registration & Membership >> Addons.
Here, search for the Invite Codes add-on from the list of available features and add-ons. Simply Activate the add-on, and it’s ready for use.

This will allow you to create registration forms that require invite codes to submit.
3. Create Exclusive Invitation Codes
Next step is to create invitation codes. Here, you can create codes individually or have the plugin create multiples of them in bulk for you.
Create Individual Codes
To do that, go to User Registration & Membership >> Settings > Registration & Login through your sidebar and click the Invite Codes tab.

This will take you to the Invite Codes page, where you can view all the existing codes in a list. The Codes List will be empty be default.
To add a new code, navigate to the Add New tab. You’ll need to set up a bunch of attributes for each code.

- Add New Code: Enter your custom invitation code here.
- User Limit: Set the limit on unique registration allowed through this particular code. If you leave it empty, the code can be used infinite times.
- Expiry Date: Set the validity period for the code. Leaving it empty means that the invitation code will never expire.
- Select Form: Set the registration form for which the code will be valid. For now, the dropdown list only has the Default Form. However, that’ll change once we create a custom form later in this tutorial.
- Override User Role: Enable this option if you need to change the default user role for the selected registration form. Otherwise, disable it.
- User Role: Select the WordPress user role to assign to visitors who use the invitation code.
Create Codes in Bulk
You can also generate multiple codes simultaneously instead of individually adding new invitation codes. To do that, click the Generate Random Codes tab under Invite Codes.

- Code Numbers: Set the number of codes to be created.
- Code Prefix: Add a prefix to all the generated codes to make them more distinct.
This bulk option is what you’d use to generate a full batch of access codes at once — useful for cohort programs or referral campaigns where you need dozens of codes ready to hand out, rather than creating each one individually.
Like the manually generated codes, you can also set the user limits, expiry date, and permission provided by the code. As before, you’ll need to select the form for these codes as well.
Besides that, you’ll see a Raw List tab beside Generate Random Codes, where you can view the Code Details.

And with that, you’ve successfully created a valid invitation code for your registration form with the invitation code field.
4. Create a Custom Registration Form with Invitation Code Field
Now you need to create a registration form with invitation code field.
Start by going to User Registration & Membership >> Add New.
Here, you can build a form from scratch or pick a template to customize. For this tutorial, let’s select Start from Scratch.

Give your form a name and press Continue.

As you can see, the form on the right already has four default fields:
- Username
- User Email
- User Password
- Confirm Password.
If you need more fields, drag and drop the ones you see on the left and add them to your form.

To save the progress so far, hit the Publish form button on the top right.
Now to add a field for invite codes, scroll down on the Fields tab and find the Invitation Code field in the Extra Fields subsection.

When you click on it, you’ll be prompted to set up an invite code. So, select Add Invite Code.

You’re returned to User Registration & Membership >> Settings >> Invite Codes. Here, Edit the code you previously created.

Then, select the current form in Select Form.

Save the changes and go back to the builder.
Now, drag the Invitation Code field to the desired form row. Your users must enter their invitation code into this field while registering.

After completing the form, hit the Update form button at the top of the form builder.

5. Insert the Registration Form into Your Site
Once you’ve created a form with an invitation code field and some actual invitation codes, you’ll need to add the form to your site.
To do so, click on the Embed button at the builder’s top.

This opens a popup prompting you to select an existing page or create a new one to embed the form.
Let’s create a new page for this tutorial by clicking Create New Page.

Then, give the page a title and press the Let’s go! button.

This automatically creates the page and adds the form to it.

Finally, publish the page, and you’re done!
Once done, this new page will show a custom registration page which will only accept users who use the specified invitation code.
You can test this by trying to register a new account by:
- submitting the form without a valid invite code: You should see an error
- submitting the form with a valid invite code: The user should get registered
Manage Invitation Codes and Enrolled Users
Once your invite-only WordPress registration system is live, you can easily track both invite code usage and users who used them at registration.
View and Manage Invite Codes
- Go to User Registration & Membership >> Settings >> Invite Codes
- You’ll see a list of all codes with details like:
- Code name
- Usage count (e.g., 3 out of 10)
- Expiry status
- Assigned form or role

From here, you can:
- Edit or delete codes
- Deactivate expired codes
- Export codes for record-keeping
Monitor Users Registered Through Code
- Go to Users > All Users in your WordPress dashboard
- Look for users registered through your custom form—they’ll be tagged with the:
- Invite code they used
- Custom field data (e.g., phone number)
- User role assigned via the form or invite code

Click on any user to view or edit their details.
This helps you ensure only authorized users have access and lets you manage your invite-based community more effectively.
Optional: Customize Your Form and Invitation Code Field Settings
Want to take your registration form to the next level? Here’s how you can fine-tune the Invitation Code field and overall form behavior to better match your site’s style and user flow.
Customize the Invitation Code Field
Inside the form builder, click on the Invitation Code to bring up its Field Options panel. There are two tabs available:
General Settings

From here, you can:
- Edit the Label (e.g., “Access Code” instead of “Invitation Code”)
- Add a Description or help text
- Set a Placeholder
- Make the field Required
- Hide the label, if needed
- Enable a Tooltip and add a custom Tooltip Message
Advanced Settings

Under the Advanced tab, you can add a Custom CSS Class to style the field.
Don’t forget to click Update Form (top right) once you’re done.
Configure Your Registration Form Settings
Click on Form Settings while editing your form to access key configuration options.
General Tab

Under the General Tab:
- Choose the User Approval & Login Option (e.g., auto-approve + manual login)
- Set the Default User Role
- Enable Strong Password Requirements
- Customize the Submit Button Text
Advanced Tab
Under the Advanced Tab you’ll find additional per-field toggles for spam protection, email/domain restriction, and honeypot — covered in our guide to preventing spam registration in WordPress.
Once you’ve made your changes, hit Update Form to save your configuration.
What the Registrant Sees
When an invited user visits your registration page and submits the form:
Valid code: Registration completes normally. The user’s account is created, they receive the welcome email you configured, and they’re redirected to the My Account page (or whichever destination you set).
Invalid or expired code: The form returns a validation error immediately after submission — the registration is rejected and no account is created. The error message is customizable from the field label and description settings.
Code at its usage limit: Once a code reaches its maximum number of uses, it stops working. Any submission using that code triggers the same validation error as an invalid code.
Expired codes, maxed-out codes, and invalid entries are all rejected automatically, with no manual monitoring required.
Invitation Code vs. Admin Approval vs. Open Registration: Which Should You Use?
WordPress registration doesn’t have to be all-or-nothing. Here’s how the three most common access models compare.
| Model | How It Works | Best For |
|---|---|---|
| Invitation Code | Visitor must enter a valid code to register; access is granted proactively, before signup | Beta launches, referral campaigns, cohort programs, exclusive communities |
| Admin Approval | Anyone can apply, but no account is active until an admin approves it | Membership sites and communities that vet applicants after the fact |
| Open Registration | Anyone can register instantly, with no code or review | Public forums, general newsletters, and sites with no access restrictions |
Use invite codes when you’re distributing access proactively — sending codes to specific people before they register. Good for beta launches, cohort programs, referral campaigns, and exclusive communities where you control the invite list.
Use manual approval when you want to review registrations after they happen — anyone can apply, but no one gets in until you approve them individually. Good for membership sites, professional communities, or any setup where you want to vet applicants before granting access.
User Registration & Membership supports both. For manual approval, see how to approve users in WordPress and the best WordPress user registration admin approval plugins.
You can also combine them: require an invite code and enable admin approval, so every registrant needs both a valid code and your manual sign-off.
Frequently Asked Questions
What is a sign-up code (invitation code) in WordPress registration?
A sign-up code — also called an invitation code or access code – is a value a visitor must enter to complete registration. WordPress doesn’t include this natively; it comes from an add-on like Invite Codes in User Registration & Membership, which checks the code before the account is created.
Can I make WordPress registration invite-only without coding?
Yes. The Invite Codes add-on in User Registration & Membership adds an Invitation Code field to any registration form. Users who don’t enter a valid code can’t complete registration. No custom code required — the entire setup is done through the plugin’s form builder and settings panel.
Is the Invitation Code field required, or can I make it optional?
Both are possible. In the field’s General Settings, the Required toggle controls whether users must enter a code to submit the form. If you leave it optional, users without a code can still register — only those who enter an invalid code will be blocked. For a truly invite-only registration page, keep the field required.
Can I generate multiple invitation codes at once?
Yes. Instead of creating codes one by one, use the Generate Random Codes tab to produce a batch in one step. Set how many codes you need and an optional prefix, and the plugin creates them all with the same usage limit, expiry, and role settings.
Can I assign different user roles to different invite codes?
Yes. Every individual invite code has an Override User Role option. Enable it and select any WordPress role — including custom roles created with User Role Editor. A single registration form can therefore produce users with different roles depending on which code they used.
Can an invite code also grant membership access?
Directly, no – invite codes control whether someone can register, not which membership plan they’re assigned to. However, by using the Override User Role setting to assign a role that has access to specific content, or by combining an invite-code field with a Membership field on the same form, you can effectively gate both registration and plan access in a single step.
What happens when a code reaches its usage limit?
The code stops accepting new registrations immediately and automatically. Any user who tries to submit the form with a maxed-out code sees the same validation error as an invalid code. You can see the usage count for every code in real time from the Codes List screen.
Can I export my invite codes and user registration data?
The code list can be exported for record-keeping from Settings → Invite Codes → Codes List. For user data, go to Users → All Users, filter by the registration form if needed, and export using WordPress’s built-in export tools or a user management plugin.
Wrapping Up Invite-Only Registration for WordPress
Invite-only registration gives you something that open registration never can: control over your community from day one. Every member was deliberately let in – not accidentally discovered by a search engine or a form scraper.
The setup is straightforward: activate the Invite Codes add-on, create your codes with the limits and expiry dates that fit your rollout, build a registration form with the Invitation Code field, and distribute the page URL alongside the codes to the people you’re inviting.
From there, the system runs itself. Used-up codes stop working, expired codes stop working, invalid entries are blocked at submission, and every registration is traceable back to the code that authorized it.
Whether you’re building a private community, launching a paid course, or offering exclusive access to select users, invite codes give you precise control over who can join.
What’s great is that everything—from form creation to access control—is handled in one place, with no coding needed.
If you’re curious how it all fits together in action, feel free to try the demo and explore how User Registration & Membership works firsthand. It’s one of the best free WordPress membership plugins available.