Hello @echoleaf,
Thanks for contacting us,
I hope you are doing well, We’ve informed our technical team about your issue, and they will work on it promptly. When we receive their response, we will get back to you. Our team is here to assist you. Thank you for your patience.
Thanks & Regards
WP Experts Support Team
Hello @echoleaf,
To prevent spam registration, please use the captcha in the registration form.
Also, Disabling the denied email is not possible in the free version of the New User Approve.
Please use this code in functions.php of the active theme.
To disable the Welcome/Pending Email:
add_filter( 'nua_disable_welcome_email', function( $email_status, $user_id ) {
return false;
});
To disable the Admin Request Email:
add_filter('new_user_approve_email_admins', function( $admin_emails ) {
return array();
});
If you have any questions, feel free to reach out. We’re here to assist you.
Thank you
Thank you so much for the prompt response! Which one is the Admin Request Email?
Hello @echoleaf,
Here is the Admin Request Email:
add_filter('new_user_approve_email_admins', function( $admin_emails ) {
return array();
});
If you have any questions, feel free to reach out. We’re here to assist you.
Thank you
Sorry, what I meant was what is the content of the Admin Request email? I’m not sure I want to disable it if it’s the one that tells the admin that an account is waiting for approval/disapproval.
Hello @echoleaf,
The Admin Request Email is the user account waiting for approval or denial by admin, It is up to you to disable or keep it as an enable.
Thank you
Hello. I was searching for the same solution. When someone new registers, they instantly get the “Your registration is pending for approval” email and also the “Your account has been created!” email.
Why is their account getting created before it has been approved? They’re able to set and edit the password and do everything normally, before any admin approves the account. It seems the User Approval plugin isn’t actually stopping anyone from registering and doing spam-like things. I would think that until they are “approved”, they shouldn’t be able to set a password and do anything with their account.
And the first email they receive, we don’t want to send that in case they are spammers. How do we add the snippet to block the “Your registration is pending for approval” email? I added the 2 snipets above, but the new unapproved user is still receiving both emails immediately, using up the daily email quote. The admin email is successfully not coming through now.
Thanks for your assistance.
Hello @echoleaf,
Please create a ticket on our official website so that we can connect you directly with our Technical team.
Looking forward to getting your issue resolved.
Thank you