Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.