Created
August 8, 2016 10:27
-
-
Save gareth-gillman/bb6f14c4423166d1b27f577f193d22c3 to your computer and use it in GitHub Desktop.
Comment Email Notifications
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function se_comment_moderation_recipients( $emails, $comment_id ) { | |
$emails = array( 'myemailk@mail.com' ); | |
return $emails; | |
} | |
add_filter( 'comment_moderation_recipients', 'se_comment_moderation_recipients', 11, 2 ); | |
add_filter( 'comment_notification_recipients', 'se_comment_moderation_recipients', 11, 2 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment