| 开发者 | RavanH |
|---|---|
| 更新时间 | 2026年2月20日 00:40 |
| 捐献地址: | 去捐款 |
| PHP版本: | 3.7 及以上 |
| WordPress版本: | 6.9 |
| 版权: | GPLv3 or compatible |
| 版权网址: | 版权信息 |
/* That's all, stop editing! Happy publishing. */.
These constants are currently available:
define( 'COMMENT_NOTIFICATION_RECIPIENTS', 'site_admin_only' ); to make new comment notifications go to the site admin e-mail address, and no longer the post author.
Use define( 'COMMENT_MODERATION_RECIPIENTS', 'post_author_only' ); to make comment moderation notifications only go to the authors e-mail address, and no longer the site administrator address (unless the post author does not have moderation rights).
There is no settings page. See the plugin Description for instructions.
To test if it is working:
This plugin does not send any messages. It only changes the addressee of the comment moderation queue notifications that are sent by WordPress. If nobody get any of these notifications, disable the plugin and test again. You will probably still not get any notifications and the problem lies with WordPress not being able to send emails via PHP. There are other plugins or tutorials about server configuration that can help you with that...
Yep, it was made for Multisite :) You can install it in /plugins/ and activate it site-by-site or network wide. Or you can upload it to /mu-plugins/ for automatic (must-use) inclusion.
comment_moderation_recipients filters running before this one