AJAX flow
- POST to
or_registerwith email, password, first/last name - Validation: email format, email uniqueness, password length ≥ 8
- Email domain whitelist check (if configured)
- Invitation code check (if configured)
- CAPTCHA verification (if configured)
wp_insert_user()creates the account- If approval mode: pending meta set, admin notified
- Otherwise: verification token created (24h), email sent with verify link
- XP awarded for
registeraction oregister_user_registeredaction fired
Registration Field Builder
Fields configured in wp_options key or_registration_fields. Default fields:
| Key | Type | Required |
|---|---|---|
| first_name | text | yes |
| last_name | text | yes |
| yes | ||
| password | password | yes |
Custom fields can be added programmatically or via future admin UI.
