=== ActiLog Admin Event Monitor ===
Author: Laxman Prajapati
Author URI: https://laxmanprajapati.wordpress.com/
Contributors: laxman-prajapati
Tags: activity log, audit trail, user tracking, security, monitoring
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A lightweight activity log plugin that tracks user actions in WordPress. Monitor logins, content changes, plugin updates, and more.

== Description ==

WordPress doesn't provide a built-in way to see what your users have been doing in the admin area. If a post gets deleted, a plugin gets deactivated, or a suspicious login happens — there's no record of it.

ActiLog Admin Event Monitor solves this by logging every meaningful admin action. You'll always know who did what, when, and from where.

It's built for multi-author blogs, client sites, and agencies who need accountability without the complexity of enterprise audit tools.

= What gets tracked =

* Login, logout, and failed login attempts
* Posts and pages — create, edit, publish, trash, delete
* User management — registration, deletion, role changes, profile edits
* Plugins — activate, deactivate, delete
* Themes — switches
* Settings — core WordPress option changes
* Categories and tags — create, edit, delete
* Comments — new comments and status changes
* Media — uploads and deletions
* Menus — create, update, delete navigation menus

= Features =

* Works immediately after activation — no setup needed
* Records IP address and browser info for each event
* Filter logs by event type, user, or search keywords
* Export logs to CSV
* Auto-cleanup keeps your database lean (configurable retention period)
* Toggle tracking per category from Settings
* Lightweight — no frontend scripts, no external services

= How it works =

1. Install and activate
2. That's it — activity is being recorded
3. View logs under Activity Record in the admin menu
4. Adjust what to track under Activity Record > Settings

All data stays in your database. Nothing is sent externally.

== Installation ==

1. Upload the `actilog-admin-event-monitor` folder to `/wp-content/plugins/`
2. Activate through the Plugins screen
3. View logs under Activity Record in the sidebar
4. Adjust settings under Activity Record > Settings

== Frequently Asked Questions ==

= Will this slow down my site? =
No. The plugin only hooks into specific WordPress actions and performs a single database insert per event. There's no frontend code at all.

= How long are logs stored? =
90 days by default. You can change this in Settings, or set it to 0 to keep logs forever.

= Can I export logs? =
Yes — there's an Export CSV button on the Activity Record page.

= Does it store personal data? =
It stores usernames, IP addresses, and browser info for logged-in users. All data stays in your WordPress database. No data is sent to any third-party service.

= Can I disable certain types of tracking? =
Yes. Each category (logins, content, users, plugins, etc.) can be toggled individually in Settings.

== Screenshots ==

1. Activity log viewer with filtering and export options
2. Settings page — toggle tracking per event category

== Changelog ==

= 1.0.0 =
* Initial release
* Tracks logins, content, users, plugins, themes, settings, taxonomy, comments, media, and menus
* Filterable log viewer with pagination
* CSV export
* Configurable auto-cleanup
* Per-category tracking toggles
