how to disable user confirmation from administration?

I have a multi-site network, on one of the sites the access is restricted to registered users, and only an administrator can create users.

I was asked to get rid of the confirmation email sent to new users, and I know you can select an option to add the user without sendind the email.

The problem is, that option is only available to super administrators (me) and not regular administrators.

Is there a way to add the new users without sending a confirmation email? I can get rid of the email, but I also need to remove the activation link, I need the users to be automatically added.

I’ve looking for hooks but I can’t find anything helpful, any ideas?.

P.S. Every user is added from the Add new user menu in the backend.

2 s
2

Haven’t really tested this, but WP actually uses this filter if you check the “noconfirmation” box, except that it does so only for super_admins, like you said:

add_filter( 'wpmu_signup_user_notification', '__return_false' );

Leave a Comment