Release candidate

WordPress maintenance plugin

Post Purge Pro

Preview stale, low-content WordPress posts, export a CSV backup, and move a reviewed batch to Trash without adding a permanent-delete path.

WordPress 6.2+PHP 7.4+CSV backupTrash-only
Safety flowPreview -> Export -> Confirm -> Trash
No permanent deleteAdmin-onlyRevalidated

What it does

Controlled cleanup for old WordPress posts

Post Purge Pro is designed for staging-first cleanup work where administrators need a narrow batch, a backup, and a reversible Trash-only action.

01

Define a narrow batch

Filter by post type, status, age, maximum word count, and missing featured image.

02

Review before mutation

Preview up to 100 current matches. The plugin revalidates posts before export or cleanup.

03

Export a backup

Download reviewed fields and original content as CSV, with spreadsheet-formula-looking cells hardened.

04

Move to Trash only

Typed PURGE confirmation and browser confirmation are required. Version 1.0.0 never permanently deletes posts.

Validation

Copy/paste computer run

Use this after placing the plugin ZIP in the local WordPress harness.

php -l post-purge-pro.php
Get-ChildItem -Recurse -Filter *.php | Where-Object { $_.FullName -notmatch "\\dist\\" } | ForEach-Object { php -l $_.FullName }
php tests/test-rules.php
php tests/test-export.php
docker compose -f docker-compose.wordpress.yml --env-file .env.wordpress up -d db wordpress phpmyadmin
docker compose -f docker-compose.wordpress.yml --env-file .env.wordpress run --rm wpcli plugin install /workspace/local-artifacts/wordpress/post-purge-pro.zip --force --activate
docker compose -f docker-compose.wordpress.yml --env-file .env.wordpress run --rm wpcli plugin list

Acceptance

Pass criteria

Use disposable staging posts first. Do not run cleanup against production content until the staging flow is verified.

Install

The ZIP installs and activates through WordPress without breaking admin or public pages.

Review

Tools > Post Purge Pro loads for an administrator and preview does not mutate posts.

Recover

CSV backup downloads, cleanup moves posts to Trash only, and test posts can be restored.

Important limitation

Not a hosted WordPress admin

This TechMaxxed subsite documents and supports the plugin. The plugin itself runs inside the site owner's WordPress install after the ZIP is installed.