How to add additional e-mail addresses to WordPress comment notifications

By default, WordPress will notify only the actual post author if there are new comments on their post. But what if you want to notify additional people about every comment posted on the website? Like site editors, for example?

This is just a quick filter you can use in this case:

7 comments

  1. aesqe Post author

    Updated the code, haven’t noticed that WP had stripped out the e-mail addresses because the brackets weren’t encoded- sorry about that :|

    1. aesqe Post author

      you should put this code either in your theme’s “functions.php file” (in your theme’s directory), or include it in a plugin.

      and sorry it took me so long to reply, Marcelo :|

Comments are closed.