Delete Old Posts and Pictures – Content Cleanup by Wizehawk

Descrição

Delete Old Posts and Pictures helps you clean up old WordPress content without guessing what is safe to remove.

Instead of bulk-deleting blindly, the plugin gives you a simple workflow:

Scan -> Review -> Clean

Run a scan, inspect what WordPress found, and choose exactly what you want to clean.

Clean up old WordPress content

  • Scan posts, pages, and other admin-visible post types by age.
  • Filter results by status.
  • Preview up to 100 of the oldest matches before taking action.
  • Move selected content to Trash by default.
  • Permanently delete content only when you explicitly choose to do so.

Find old media before deleting it

  • Scan image attachments by age.
  • See image previews, filenames, dates, and original file sizes.
  • Identify common protected references such as site icons, custom logos, featured images, WooCommerce product galleries, and filenames referenced in post content.
  • Flag attached images for review instead of treating them as obviously unused.
  • Permanently delete selected attachments through WordPress so generated image sizes are cleaned up too.
  • Re-check protected references immediately before deletion.

Quick Cleanup

Quick Cleanup gives you a faster way to deal with common WordPress clutter:

  • Old drafts.
  • Content already in Trash.
  • Spam comments.
  • Trashed comments.

Cleanup runs in batches of up to 100 items to reduce the chance of timeouts on larger sites.

Built for safer cleanup

Deleting old content can cause real damage if a cleanup tool guesses wrong. This plugin is designed to keep you in control.

  • Administrator-only access.
  • Scan-first workflow.
  • Read-only scans.
  • Explicit confirmation before destructive actions.
  • Media protection checks.
  • Cleanup history for the last 50 actions.
  • WordPress-native deletion functions for posts and attachments.
  • No direct SQL DELETE statements against posts or attachments.

Good uses for the plugin

  • Cleaning old or neglected WordPress sites.
  • Removing stale drafts and trashed content.
  • Reviewing old image libraries.
  • Tidying development and staging sites before launch.
  • Reducing clutter before a site migration or redesign.
  • Routine WordPress housekeeping.

Important: No automated cleanup tool can understand every theme, page builder, plugin, custom field, CSS reference, or external media connection. Review questionable media before deleting it and keep a current backup before permanent cleanup.

Ecrãs

Instalação

  1. Install Delete Old Posts and Pictures – Content Cleanup by Wizehawk from the WordPress Plugin Directory, or upload the plugin ZIP through Plugins -> Add New -> Upload Plugin.
  2. Activate the plugin.
  3. Open Content Cleanup in the WordPress admin menu.
  4. Start with a scan.
  5. Review the results before deleting anything.

Perguntas frequentes

Does scanning delete anything?

No. Scanning is read-only. Nothing is removed until you explicitly choose a cleanup action.

Does the plugin automatically delete old content?

No. The free plugin is built around a Scan -> Review -> Clean workflow so you decide what gets removed.

Does media deletion remove image files from the server?

Yes. The plugin uses WordPress attachment deletion, which removes the attachment record and WordPress-generated image files associated with it.

Can the plugin guarantee that an image is unused?

No. WordPress sites can reference images through themes, plugins, page builders, custom fields, CSS, external services, and custom code. The plugin checks several common WordPress references and flags other items for review. Always inspect questionable media and keep a backup.

Why are some images marked Protected?

A known WordPress reference was found, such as a site icon, custom logo, featured image, WooCommerce gallery image, or filename reference in post content. Protected items cannot be selected from the cleanup screen.

Why are some images marked for Review?

The plugin found something that makes the image less certain to delete automatically, such as an attachment relationship. Review items deserve a closer look before removal.

Can deleted content be recovered?

Content moved to Trash can usually be restored until the Trash is emptied. Permanently deleted content and media require a backup to recover.

Should I back up my site first?

Yes. A current backup is strongly recommended before permanently deleting content or media.

Avaliações

Este plugin não tem avaliações.

Contribuidores e programadores

“Delete Old Posts and Pictures – Content Cleanup by Wizehawk” é software de código aberto. As seguintes pessoas contribuíram para este plugin:

Contribuidores

Registo de alterações

3.2.3

  • 3.2.3 – Documentation and WordPress.org listing refresh

3.2.2

  • Cleaned WordPress.org package metadata and removed unused styling from the free release.

3.2.1

  • Added neutral extension hooks for third-party integrations without bundling external functionality.

3.1.0

  • Rebuilt the plugin around a Scan -> Review -> Clean workflow.
  • Added preview and selective cleanup for old posts, pages, and other admin-visible post types.
  • Added Move to Trash and explicit permanent-delete actions for content.
  • Added safer media scanning with Candidate, Review, and Protected classifications.
  • Added protection checks for site icons, custom logos, featured and product images, WooCommerce galleries and placeholders, Gutenberg references, attachment IDs, filenames, generated image sizes, post metadata, and term/category images.
  • Re-checks media protection rules immediately before permanent deletion.
  • Uses WordPress attachment deletion so original files and generated image sizes are removed correctly.
  • Added Quick Cleanup for old drafts, trashed content, spam comments, and trashed comments.
  • Added cleanup history for the last 50 actions.
  • Added administrator capability checks, nonce protection, sanitized request handling, and translation support.
  • Removed unsafe direct SQL deletion of posts and attachments.
  • Added responsive admin styling and clearer destructive-action warnings.

2.1.4

  • Legacy release.