Comment Moderation/Notification Recipients
Normally, when a comment gets submitted to a particular post, the author of that post gets a notification about it. And when a comment is held for moderation (which depends on your sites comment settings) then the moderation notification is sent to both the post Author (if he/she has moderation righ
Normally, when a comment gets submitted to a particular post, the author of that post gets a notification about it. And when a comment is held for moderation (which depends on your sites comment settings) then the moderation notification is sent to both the post Author (if he/she has moderation rights) and the site’s Administration E-mail Address as configured under Settings > General at the same time.
On colaboration sites or sites managed by a webmaster or designer where the client is the post author, the site admin, with enough on his/her mind already, is bothered with each and every new comment in the moderation queue.
This plugin can change that.
Just install and activate it: All post comment moderation notifications will be sent only to each respective Post Author . If, by any chance, the post author has no moderation rights (Contributor level) or there is no valid author e-mail set then the default site e-mail address will still get the notification.
WordPress Multisite compatible, per-site or network activated or as a must-use plugin.
Plugin Settings
Options will be added in the future but for now, you can only change the plugin behavior via constants in your wp-config.php file.
Add them on a new line in your wp-config.php file, just above the line that sais: /* That's all, stop editing! Happy publishing. */ .
These constants are currently available:
- 01COMMENT_NOTIFICATION_RECIPIENTS – Controls the New Comment recipients. Default: “wp_default” corresponds with “post_author_only” WordPress default.
- 02COMMENT_MODERATION_RECIPIENTS – Controls the Comment is waiting for Moderation message recipients. Default: “post_author_only”.
These options are currently available:
- 03wp_default – The WordPress default behavior. Plugin does nothing.
- 04post_author_only – Send notifications only to the Post Author e-mail address.
- 05site_admin_only – Send notifications only to the Administration Email Address as configured on Settings > General.
Examples:
Use 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).