Skip to main content
Cookbook Security

Set Up a User Activity Log with AI

Record who changed what and when, automatically, so you can stop guessing when something moves on your site.

Difficulty Beginner
Time ~10 min
Tools run_wp_cli, rest_api

Prerequisites

A connected site. The AI installs the Simple History plugin for you.

The prompt
On [my site], set up a user activity log so I can see who changed what and when. Install the Simple History plugin and activate it. Then confirm it is working by making a small test change and reading the event back from the log, showing me the user, the action, and the timestamp it recorded. Tell me where in the WordPress admin I go to read my history, and let me know how long events are kept.

Already connected to WPVibe?

Skip the copy-paste. Just ask your AI for the “Set Up a User Activity Log with AI” recipe, or describe the task, and WPVibe runs these steps on your own site.

Something changed on your site and nobody knows who did it. A page got unpublished, a setting flipped, a plugin updated at 2am. On a solo site you can usually retrace your steps, but the moment you add an editor, a virtual assistant, or a developer, that certainty is gone. When something breaks you are left guessing instead of looking, and there is no record to settle who changed what.

WPVibe sets up an activity log using the Simple History plugin, which records the meaningful actions on your site automatically: posts created and edited, logins, plugin and setting changes, each stamped with the user who did it and the time. We confirmed this on a test site by making an edit and then reading it straight back from the log, which showed the exact user, the action, the timestamp, and a diff of what changed. The AI installs and turns it on for you, and from then on the log fills itself with no work on your part.

Paste the prompt to have the AI install the log and confirm it is capturing events. After that you read your history from the WordPress admin whenever you need it. Two things worth knowing: the log starts recording from the moment it is switched on, so it will not show what happened before today, and the free version keeps events for thirty days. If you run a team site, this is the difference between knowing and guessing the next time something moves on its own.

Outcome

An activity log is live and recording who did what and when, readable from your WordPress admin.