Set only users created via registration form as “pending”?”
-
Good afternoon!
So in the plugin’s settings, under User Roles > [Role Name] > Registration Options, there is the option of automatically disabling new user accounts until they have been approved by an admin. However, this applies not only to users created via the registration form, but also to users added by an admin via wp-admin > Users > Add New. Is there a way to exempt users created by admins from this rule so that their accounts are automatically approved? I’ve searched the documentation for a suitable hook or piece of code, but I haven’t been able to find one.
Just to be clear, what I am looking to do is to automatically disable user accounts created via the registration form, while at the same time automatically approving users created by logged-in admins via the wp-admin interface.
Thanks. ??
/jenny
- The topic ‘Set only users created via registration form as “pending”?”’ is closed to new replies.