What are the Activity Log Contexts and how do they work?

Update: The Security Activity Log has been completely revamped and rewritten with ShieldPRO 12.

The Activity Log monitors key activities on your site and records events as they happen. Since many things can happen on a site we need a way to group these activities, and to achieve this we created “Contexts” which work automatically in the background. Contexts, in relation to the Activity Log, are large areas of the WordPress system within which certain groups of actions may fall.

Important: Activity Log Contexts settings are not available in Shield 10.1 and onward. Activity Log logs everything instead. 

There're 7 main contexts as follows:

  • Users and Logins
  • Plugins
  • Themes
  • Posts and Pages
  • WordPress and Settings
  • Emails
  • Shield

Every context has 1 or more related events. For example, "Emails" has:

  • emails enabled
  • emails disabled

Shield context is a special context where the plugin logs and tracks itself. Included in this context are events such as:

  • Firewall blocks
  • Firewall skipping
  • White list notifications
  • Two Factor Login Authentication

What are the main Activity Log Contexts and how do they work?

There are 7 main Activity Log contexts  we use and each one of them has its own purpose:

  • Users And Logins - Tracks activities related to the users and logins
  • Plugins - Tracks the activities related to the plugins
  • Themes - Tracks the activities related to the WordPress themes
  • Posts And Pages - Tracks the activities related to the editing and publishing of posts and pages
  • WordPress And Settings - Tracks the activities related to the WordPress upgrades and changes to particular WordPress settings
  • Emails - Tracks the activities related to the email sending
  • Shield - Tracks the activities related to the Shield

To review your site activities, you can use Activity Log Viewer.

For more information about the Activity Log, read the blog article here.