WordPress.org

Ready to get started?Download WordPress

Forums

E-Mail comment notification: show user-agent. How? (2 posts)

  1. Marc
    Member
    Posted 5 years ago #

    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.

  2. Samuel Wood (Otto)
    Tech Ninja
    Posted 5 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic