Support » Fixing WordPress » E-Mail comment notification: show user-agent. How?

  • Hi!

    I can’t find the template of the email notification system for new comments. I want to add the user agent string of the commenter to the emails for the admin.

Viewing 1 replies (of 1 total)
  • Moderator Samuel Wood (Otto)

    (@otto42) Admin

    There is no template for this. The code to alter is in wp-includes/pluggable.php in the wp_notify_postauthor() function.

    You can use the comment_notification_text filter if you want to alter the text of the message in a plugin.

Viewing 1 replies (of 1 total)
  • The topic ‘E-Mail comment notification: show user-agent. How?’ is closed to new replies.