🟡 Intermediate
⏱️ 10 minutes
Pro Feature
⏱️ 10 minutes
Pro Feature
Summary
Configure manual approval workflows to review and moderate new user registrations before granting access. Perfect for membership sites, corporate environments, and communities requiring user vetting.
Prerequisites
- ✅ Attributes User Access Pro installed
- ✅ Registration form created and configured
- ✅ Administrator access
- ✅ Email notifications configured
Step 1: Enable User Approval
- Navigate to Users → Attributes User Access → Settings
- Click on Registration tab
- Enable “Require Admin Approval for New Users”
- Configure approval settings:
- Auto-approve verified emails – Bypass approval for certain domains
- Approval timeout – Auto-reject after X days
- Notify admins – Send email on new registrations
- Save settings
Step 2: Configure Approval Workflow
Approval Process Steps
- User Registers – Fills out registration form
- Pending Status – User account created with “pending” status
- Admin Notification – Designated admins receive email alert
- Admin Review – Review registration details and user data
- Approval/Rejection – Admin approves or rejects application
- User Notification – User receives approval/rejection email
- Access Granted – Approved users can log in
Step 3: Managing Pending Users
Access the user approval dashboard:
- Go to Users → Pending Approvals
- View list of pending user registrations
- Review columns:
- Username and email
- Registration date
- Registration form used
- Custom field data
- IP address and location
Bulk Actions
- ✅ Approve Selected – Approve multiple users at once
- ❌ Reject Selected – Reject and optionally delete
- 📧 Email Selected – Send message to pending users
- 🗑️ Delete Selected – Remove user accounts
Step 4: Approve/Reject Individual Users
Reviewing a User Application
- Click on username in Pending Approvals list
- Review registration information:
- Profile details and custom fields
- Registration timestamp
- IP address and geolocation
- Previous registration attempts
- Check for suspicious indicators:
- Invalid or suspicious email addresses
- Incomplete or nonsensical information
- Known spam patterns
- Duplicate accounts
Approving a User
- Click Approve User button
- Optional: Modify user role before approval
- Optional: Add admin notes for record-keeping
- Optional: Customize approval email message
- Click Confirm Approval
- User receives approval email with login instructions
Rejecting a User
- Click Reject User button
- Select rejection reason from dropdown or enter custom message
- Choose action:
- Keep as pending – Can be reviewed again later
- Delete account – Permanently remove user
- Block email/IP – Prevent future registrations
- Optional: Send rejection email to user
- Click Confirm Rejection
Step 5: Configure Automated Email Notifications
Admin Notification Email
Customize the email sent to administrators:
Subject: New User Registration Awaiting Approval
Dear {admin_name},
A new user has registered and requires approval:
Username: {user_login}
Email: {user_email}
Registration Date: {registration_date}
Name: {user_first_name} {user_last_name}
Custom Fields:
{custom_field_data}
Review and approve: {approval_url}
Best regards,
{site_name}
User Pending Email
Email sent to users after registration:
Subject: Registration Received - Awaiting Approval
Dear {user_first_name},
Thank you for registering at {site_name}.
Your registration has been received and is currently under review.
You will receive another email once your account has been approved.
This process typically takes 1-2 business days.
If you have questions, please contact us at {admin_email}.
Best regards,
{site_name}
Approval Confirmation Email
Subject: Account Approved - Welcome to {site_name}
Dear {user_first_name},
Great news! Your account has been approved.
You can now log in at: {login_url}
Username: {user_login}
If you forgot your password, use the password reset link on the login page.
Welcome to our community!
Best regards,
{site_name}
Step 6: Set Up Auto-Approval Rules
Configure automatic approval for trusted sources:
Email Domain Whitelist
- Go to Settings → Approval Rules
- Add trusted email domains:
// Auto-approve these domains @company.com @university.edu @partner-organization.org - Users with these email domains automatically approved after email verification
IP Address Whitelist
- Auto-approve registrations from company IP ranges
- Useful for corporate intranets and office locations
- Add IP ranges or specific addresses
Step 7: Approval Workflow Customization
Custom Approval Criteria
Use hooks to implement custom approval logic:
// Auto-approve based on custom criteria
add_filter('attrua_auto_approve_user', function($auto_approve, $user_data) {
// Auto-approve if referred by existing member
if (!empty($user_data['referral_code'])) {
$referrer = get_user_by_referral_code($user_data['referral_code']);
if ($referrer && user_is_active($referrer)) {
return true;
}
}
// Auto-approve premium subscribers
if ($user_data['subscription_level'] === 'premium') {
return true;
}
return $auto_approve;
}, 10, 2);
Multi-Step Approval Process
Require multiple approvers for sensitive environments:
// Require two admin approvals
add_filter('attrua_approval_required_count', function($count) {
return 2; // Require 2 approvals
}, 10, 1);
// Notify specific admins based on user data
add_filter('attrua_approval_notifiers', function($admins, $user_data) {
// Route to department manager based on user's department
if ($user_data['department'] === 'Engineering') {
return [get_user_by_email('engineering-manager@company.com')];
}
return $admins;
}, 10, 2);
Step 8: Reporting & Analytics
Track approval metrics:
Available Reports
- 📊 Pending Count – Current users awaiting approval
- ✅ Approval Rate – Percentage of approved vs. rejected
- ⏱️ Average Approval Time – How long reviews take
- 📈 Registration Trends – New registrations over time
- ❌ Rejection Reasons – Common rejection patterns
Troubleshooting
❌ Admin Not Receiving Approval Emails
- Check WordPress email functionality with test email
- Verify admin email addresses in Settings → General
- Check spam folders
- Enable email logging for debugging
❌ Users Can’t Log In After Approval
- Verify user status changed to “active”
- Check if approval email was sent
- Confirm password was set correctly
- Test login with password reset
❌ Pending Users Disappearing
- Check if auto-cleanup is enabled
- Verify user role permissions
- Look in Users → All Users with status filter
- Check activity logs for deletion events
Best Practices
- ✅ Respond to pending approvals within 24-48 hours
- ✅ Set up email notifications for multiple admins
- ✅ Document approval criteria for consistency
- ✅ Use auto-approval rules for trusted sources
- ✅ Keep rejection reasons professional and clear
- ✅ Regularly review and clean up old pending accounts
- ✅ Monitor approval metrics to optimize process
Related Articles
Need Help?
Contact our support team for assistance with approval workflows:
- 📧 Email: support@attributeswp.com
- 💬 Live Chat: Available on our website
- 📚 Documentation: docs.attributeswp.com