By default, WordPress notifies post authors of comments on their posts, and there are no settings that change this.
If you’re like me, you may have found situations where this is less than ideal. For example, I’ve often found it advantageous to have all WordPress comment notifications go to a particular person, for a particular post type for example.
The below function is an example of how you can do just that, for any post type. The example is setup for Shopp products, but is easily extensible to any post types. And, you should be able to easily infer how you would change it for all notices and post types if you’d rather just send them all to one person.
Just drop that into a plugin, or into your theme’s functions.php
file and you’re good to go.
hridoyfaisal says
If I would like to change email for all POST type then what should I put inside of shopp_product ?
Cassy says
did you ever find the answer for this? i would love to know as well!
hridoyfaisal says
Hi @glittertini:disqus,
I might be not found it but I forgot it totally. If you found then ping me.
Ilona Ferenc says
Nothing, you can remove this if statement altogether. And the line above it, which sets the $post variable. Just make sure to keep the last line: return array…