最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

configuration - how do I disable new user registration email for specific admin user?

programmeradmin1浏览0评论

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 badge
Add a comment  | 

1 Answer 1

Reset to default 1

Going 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.

发布评论

评论列表(0)

  1. 暂无评论