How to Edit the Email Notifications Templates

You are here:
Back

The Email Notifications uses two different email templates – one is used for the email notifications that are built by the user (when using the Email Notification Trigger Builder) and the other is used for the Built-in Email Security Notifications.

You can edit and personalise each of these email templates, and can also configure a different email template for a specific notification, as explained below.

Editing the Email Template for User Built Notifications (with the Notification Trigger)

To modify the email template that is used for the User Built Notifications follow the below procedure:

  1. Click Email Notifications from the Audit Log plugin node.
  2. Click on the Email Templates tab.
  3. Click on Default Email Template for User Built Notifications.
  4. Use the editor to modify both the subject and the body of the email. Note that you can use any of the built-in tags (such as {title}, {username}) in both the subject and the body of the email.

Modifying the email template for user build email notifications

This template will be used for all the User Built Notifications.

Creating an Email Template for a Specific User Built Notification

Even though there is a configured email template for all User Built Notifications, you can override it and create a custom template for a specific User Built Notification. To do so follow the below procedure:

  1. Click Email Notifications from the Audit Log plugin node.
  2. Open the User Build Notification you would like to modify from the Email Notifications Trigger Builder
  3. At the bottom of the screen select the option User Alert Specific Email Template.

Creating and editing the template for a specific user build notification

  1. Use the email editor to specify a subject and a body for the email. You can use any of the built-in tags (such as {title}, {username}) in both the subject and the body of the email.
  2. Once ready, save the notification by clicking Save Notification.

The next time the criteria for this email notification is met and it is triggered, this email template will be used for this notification rather than the generic one.

Editing the Email Template for Recommended Email Notifications

The Recommended Email Security Notifications use a different template than the User Built Notifications. This template can also be modified and below is the procedure for modifying this template:

  1. Click Email Notifications from the Audit Log plugin node.
  2. Click on the Email Templates tab.
  3. Click on Default Template for Built-in Email Alerts which is highlighted in the below screenshot.

Editing the email template for the built-in (recommended) WordPress email alerts

  1. Use the editor to edit both the subject and the body of the email. Note that you can use any of the built-in tags (such as {title}, {username}) in both the subject and the body of the email.

This template will be used for all the built-in email notifications.