How to filter the WordPress activity log by date range

Home » Documentation » How to filter the WordPress activity log by date range

The WordPress activity log since version 1.7 supports date range filtering, which makes it easier to review events from a specific period.

You can use preset ranges for quick filtering, or you can select a custom start and end date when you need a more exact window. This helps when you are troubleshooting a problem, checking changes made during a certain period, or reviewing recent activity for a site.

Custom filter for activity log

To use it, open the activity log and choose a period. You can either select one of the preset ranges or use the custom date picker to define your own start and end dates.

Once applied, the activity log will show entries from that selected period only.

This improvement is also available through the API, which means integrations and custom reporting tools can query activity within a defined date range.