Send email on comments
Author | Posts |
---|---|
May 2, 2013 at 1:43 pm 3092 | |
Hello, Is there a way / something you guys could write that sends an email to the author and admin when a comment is made on a post? Thank you. | |
May 2, 2013 at 3:29 pm 3100 | |
I think WP already sends email to the post author if someone lefts a comment on his post. | |
May 3, 2013 at 2:30 am 3118 | |
It doesn’t seem to support custom post types. I was hoping your plugin would solve this issue though. | |
May 3, 2013 at 5:54 am 3122 | |
So you are saying WP doesn’t send emails for custom post type comment? | |
May 3, 2013 at 6:33 am 3130 | |
That’s correct. The admins receive emails, but the author doesn’t. | |
May 3, 2013 at 11:20 am 3132 | |
For the second one, if any comment is not approved, it sends an email to the admin. Also sending approved comments to the admin, you can use this snippet: add_action( ‘comment_post’, ‘wpufe_notify_comment’, 10, 2 ); |