WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm admin of a question and answers website in WordPress. All users are defined like authors.

I have the problem that when I approve a comment ( an answer to a question), the author receives too much personal information ( email address, ip, whois arin, links of: spam it, trash it, approve it, ) of other users by the comments notification email sent by WordPress.

Is there a way to modify this email sent to authors?

share|improve this question

The wp_notify_postauthor() function is pluggable meaning that you can copy the code and paste it into a plugin file or theme functions file keeping the same function name and WordPress will use your version rather than its own. Edit your version of the function to send as much or as little information as you like.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.