This is an example of adding a very simple invitation code to your registration process. In this example, we will add an invitation code field to the form and set up a function to validate that code. To keep it simple, the invitation code will be static (there will be only one code). Later I will be publishing a more advanced example where you can read user specific codes from a database table, validate, and also mark the code as claimed.
To gain full access to WP-Members premium content, a current support subscription is required. You can purchase
an annual support subscription for as little as $59, which provides you with access to priority support, a
customer support forum, access to code snippets, and more.
Why wait? Choose your subscription option here.
[Why join?]