Plugin issue when admin approval enabled for registraton
-
Hello Support,
When we enable admin approval for registrations, there are certain issues with getting user data – seems some kind of overriding is causing from plugin side.I will explain the scenario below:
For registration, in the form settings – we can enable admin approval for registration. But once its enabled, when we can get users – we dont get the users with pending status.
<?php $users = get_users( array( 'role' => 'subscriber' ) ); ?>So this will return only users with approved status. But if we change the form settings to “email confirmation” or some other – it will retrieve all users based on role. There seems some kind of prequery happening – which hides the pending users – if we set as admin approval after registration. This is happening when we change in form settings – in registration edit page – admin.
This seems to be a bug in plugin – could you please check and rectify this issue asap. Waiting for your reply.
The topic ‘Plugin issue when admin approval enabled for registraton’ is closed to new replies.