Skip to content

How to filter the WordPress activity log by date range

The activity log of a site can show the events of one period only. This helps when you are troubleshooting a problem, checking what changed during a certain window, or reviewing recent activity on a site. You can pick a preset period, choose your own start and end date, or jump to a day.

The periods follow the timezone of your account, and so do the times in the list. See Set your date format and timezone.

  1. Open the site and choose Activity in the site menu.
  2. Open the period menu above the list. It shows This month when the screen opens.
  3. Choose All time, Today, This week, Last week, This month or Last month. Weeks start on Monday.

The list, the counts on the tabs and the line at the bottom of the list update straight away, for example “9 events last week”.

  1. In the period menu, choose Custom. Two date fields appear next to it, filled with the dates of the period you had.
  2. Pick or type the start date in the first field and the end date in the second, in the date format of your account.

The activity log period set to Custom, with a start and an end date filled in

Both days are included. A custom range can be at most 6 months long, and the end date can’t be before the start date; the screen tells you when a range doesn’t fit, and keeps showing the last range that did.

Jump to date shows the month up to and including the day you pick. It keeps your tab, search and Who filter, so you can, for example, look at the updates before a problem started.

The period works together with the event type tabs (Everything, Updates, Plugins and themes, Content, Media, Users, Appearance, Settings), the search and the Who filter. See Activity for the whole screen.

The period is part of the page address, so you can bookmark or share the view. Export CSV downloads the events of the period and filters you chose.

The Scanfully API can return a site’s activity within a time range too, so integrations and custom reports can query the events of a defined period.