# Content Space Analyzer

WordPress plugin to scan the whole installation (`ABSPATH`) in batches, show the largest files/folders, and delete selected files.

## Installation

1. Copy the `wp-content-space-analyzer` folder into `wp-content/plugins/`
2. Activate the plugin from **Plugins**
3. Open **Content Space Analyzer** from the main admin menu

## Main features

- Dashboard with metrics and storage distribution (`wp-content`, `wp-includes`, `wp-admin`, root)
- Largest folders and largest files panels
- Full files table with multi-select
- WordPress-style pagination for the main table
- Batch AJAX scan with progress
- Selected file deletion with confirmation and nonce

## Default limits

- Scan batch size: `1000` items per request
- Maximum delete size: `200` files per request
- Scan session transient TTL: `30 minutes`

## Security

- Access limited to users with `manage_options` capability
- Nonce validation for all AJAX actions
- Delete operations restricted to files inside `wp-content`
