=== Storm Clean Admin ===
Contributors: wpstormdev
Tags: user management, inactive users, security, optimization, admin tools
Requires at least: 5.0
Tested up to: 6.8
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A modern WordPress plugin to manage inactive users, monitor site activity, and keep your site optimized and secure.

== Description ==

**Storm Clean Admin** is a lightweight and performance-focused WordPress plugin that helps site administrators manage inactive users, track activity, and maintain a clean, secure dashboard.

Built with a modern React-powered interface and adhering to WordPress coding standards, it provides a seamless experience for both administrators and site managers.

### Key Features

- 🚀 **Fast & Lightweight** – Uses native WordPress APIs for optimal performance.
- 🧍‍♂️ **Smart User Management** – Detect, deactivate, or delete inactive users automatically.
- 📊 **Analytics Dashboard** – Monitor user login activity, registrations, and engagement.
- ⚙️ **Custom Automation** – Schedule cleanups and inactivity checks.
- 🔒 **Security Focused** – Protects admin and critical roles from accidental removal.
- 🎨 **Modern UI** – Clean, responsive React interface integrated with WordPress.

### Why Use Storm Clean Admin?

- Keep your user database clean and efficient
- Identify dormant or risky accounts
- Automate routine maintenance tasks
- Improve visibility on user activity
- Maintain GDPR compliance by removing unused accounts

### Built For Admins and Developers

- Fully compatible with WordPress coding and security standards
- Translation-ready and fully localizable
- Uses WordPress REST API for scalability and speed

### Compatibility

- Works with WordPress 5.0+
- Tested up to 6.8.3
- Supports classic and block themes
- Translation-ready with included `.pot` file

== Features ==

* **Inactive Users Management** – Automatically detect and manage inactive accounts
* **User Activity Tracking** – Track login times and last activity
* **Automated Cleanup** – Schedule automatic cleanup of inactive users
* **Analytics Dashboard** – View site and user activity trends
* **Role-Based Exclusions** – Exclude specific user roles from inactivity checks
* **Flexible Actions** – Deactivate or delete inactive users
* **Activity Charts** – Visualize login and registration patterns
* **Bulk Actions** – Apply actions to multiple users simultaneously
* **Security-Focused** – Built with WordPress best practices
* **Modern UI** – Responsive React dashboard

== Getting Started ==

1. Install and activate the plugin.
2. Navigate to **Storm Clean Admin** in the WordPress admin menu.
3. Configure inactivity thresholds and exclusion rules.
4. Enable automatic cleanup or manage users manually.
5. Monitor user activity and manage accounts from the dashboard.

== Installation ==

= Automatic Installation =

1. Log in to WordPress admin.
2. Go to Plugins → Add New.
3. Search for "Storm Clean Admin".
4. Click "Install Now" and then "Activate".

= Manual Installation =

1. Download the plugin ZIP file.
2. Log in to WordPress admin.
3. Go to Plugins → Add New → Upload Plugin.
4. Select the ZIP file and click "Install Now".
5. Activate the plugin.

== Frequently Asked Questions ==

= What happens to inactive users? =
You can deactivate them (assign "inactive" role) or permanently delete them.

= Can I exclude certain roles? =
Yes, specific roles can be excluded. Administrators are always excluded for safety.

= How is inactivity determined? =
Based on last login time. Users inactive past your defined threshold are flagged.

= Is it safe to delete users automatically? =
Yes, but backup your database. Role exclusions and admin protections are included.

= Can deleted users be restored? =
No. Always backup before performing bulk deletions.

== Screenshots ==

1. Dashboard showing user statistics and activity
2. Inactive users management interface
3. Settings panel
4. Activity charts
5. User action logs

== Changelog ==

= 1.0.0 =
* Initial release
* Inactive user detection and management
* User activity tracking
* Analytics dashboard
* Automated cleanup scheduling
* Role-based exclusions
* Bulk user actions

== Upgrade Notice ==

= 1.0.0 =
Initial release.

== Privacy Policy ==

All user login times are tracked locally in your database. No external data transmission occurs. Data remains on your WordPress installation.

== Roadmap ==

* Multisite compatibility
* Email notifications for inactive users
* Export/import cleanup logs
* WooCommerce integration for user activity

== Support ==

Documentation, FAQs, and support: [https://wpstorm.ir/clean-admin/](https://wpstorm.ir/clean-admin/)

== Feedback & Contribution ==

Report issues or share ideas: [https://wpstorm.ir/support](https://wpstorm.ir/support)

== Credits ==

Developed by **Wpstorm Team**
Website: [https://wpstorm.ir](https://wpstorm.ir)
