=== Activity Lens ===
Contributors: Spidawebs
Tags: activity log, user tracking, audit, security
Requires at least: 5.0
Tested up to: 6.8
Stable tag: 1.0.0
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Log user and post activities in a separate database for performance and compliance.

== Description ==

Activity Lens tracks user actions (login, logout, registration, deletion) and post actions (publish, edit, trash) in a separate database, ensuring minimal impact on WordPress performance. Ideal for security auditing and compliance.

Features:

Logs user and post activities with session tracking.
Uses a separate database for scalability.
Admin dashboard to view logs.
Export logs as CSV.
Secure with sanitized inputs and prepared queries.
== Installation ==

Upload the plugin ZIP via Plugins > Add New > Upload Plugin.
Activate the plugin.
Go to WPAL > Database Settings, enter external database credentials, and save.
View logs at WPAL > WPAL Settings.
== Frequently Asked Questions ==

= Do I need a separate database? =
Yes, a separate MySQL/MariaDB database is required for logs.

= Does uninstalling remove all data? =
It removes WordPress settings and post meta, but the external database requires manual cleanup.

= Can I export logs? =
Yes, export logs as CSV from WPAL > Export Data.

== Changelog ==

= 1.0.0 =

Initial release with activity logging, separate database, and CSV export.
== License ==

Licensed under GPLv2 or later. See https://www.gnu.org/licenses/gpl-2.0.html.