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

  1. Marc Toensing
    Posted 6 years ago #


    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. 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