Audit Log
Audit Log records key SEO and agency-related events so admins can review who changed what and when.
Availability: Audit Log requires a Business+ tier (Business, Agency, or Enterprise), or developer mode.
Current implementation is a filterable activity log with CSV export. It does not provide multi-view dashboards, severity-level visualization, or 5-second live auto-refresh.

Tracked Events
- License events: activated, deactivated, invalidated.
- User events: role changed, login, invited, enabled, disabled.
- System events: settings saved, module enabled/disabled.
- Error events: REST errors and notification errors.
- Audit events: log exported and log cleared.
Filters and Pagination
The Audit Log tab supports:
- User filter
- Action filter
- Object type filter
- Date range parameters
- Paginated results (default 20 per page)
Export
Export uses CSV format via the Audit Log export endpoint.
- CSV export only (no JSON/PDF export route in current module).
- Applied filters are respected when exporting.
Retention and Cleanup
The module schedules daily cleanup and uses a retention-days option. Default retention is 90 days unless changed.
REST API
# List entries
GET /wp-json/prorank-seo/v1/audit-log
# Export CSV
GET /wp-json/prorank-seo/v1/audit-log/export
# Clear entries
DELETE /wp-json/prorank-seo/v1/audit-log/clear
# Get filter options
GET /wp-json/prorank-seo/v1/audit-log/filtersFAQ
Does it refresh automatically every few seconds?
Not in the current implementation. Reload or change filters to fetch updated entries.
Can I export PDF or JSON?
Current export route returns CSV.
Who can access Audit Log?
Users with
manage_options and an eligible license tier.