As the title of the question says, I would like only specific admin users to receive the new registration emails. Is it possible to restrict which admin user receives it?
Currently all admin users will receive an email notification.
I don't want to disable it globally but only on a per user basis.
As the title of the question says, I would like only specific admin users to receive the new registration emails. Is it possible to restrict which admin user receives it?
Currently all admin users will receive an email notification.
I don't want to disable it globally but only on a per user basis.
Share Improve this question asked Feb 18, 2021 at 9:23 gabtzigabtzi 1011 bronze badge1 Answer
Reset to default 1Going by wordpress wp_new_user_notification
, github, wordpress code reference, the function that handles sending email for new users, it only send email to user and site admin by default.
There's a filter wp_new_user_notification_email_admin
that you can hook into to change the admin details, maybe you have a plugin that uses this filter.
Try disabling them one by one and see if it fixes it.