Custom Post Type Cleanup
Custom post type posts are left in the database if a post type is no longer registered (in use).
Envisager une alternative
Custom Post Type Cleanup shows warning signs in 2026 — compare the alternatives below before installing. It runs on 1K+ sites, is rated 5/5 and was last updated 3 years ago, and scores 33/100 on our health check.
- Loved by users — 5/5 from 35 reviews
- Pas de mise à jour dans 2 ans
- Uniquement testé jusqu'à WordPress 6,5 (le dernier est de 7,1)
Téléchargements quotidiens
Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.
Adoption de version
Part de sites actifs par version.
Répartition des notes
★★★★★★★★★★ 5 from 35 reviews
About Custom Post Type Cleanup
From the official readme · v1.3.2Description
Custom post type posts are left in the database if a post type is no longer registered (in use).
Plugins and themes can (without you knowing) use custom post types as a way to store data. These posts stay in the database forever if they’re not cleaned up by the plugin/theme itself upon deletion.
There are a lot of plugins that clean your database (by removing revisions, drafts etc.), but I haven’t found one that does a cleanup of unused post type posts.
This plugin provides an easy way to detect and remove posts from post types that are no longer in use. The settings page for this plugin is at wp-admin > Tools > Custom Post Type Cleanup.
Note: The proper WordPress delete function wp_delete_post is used instead of running a direct MySQL query to delete the posts. This way all associated post data (comments, post meta etc.) are also deleted from the database.
Since version 1.2.0 you can re-register unused custom post types for a limited period of time. This allows you to inspect and delete the posts like you would normally (in the wp-admin).
Installation
Follow these instructions to install the plugin.
- In your WordPress admin panel, go to Plugins > New Plugin, search for “custom post type cleanup” and click “Install now”.
- Alternatively, download the plugin and upload the contents of custom-post-type-cleanup.zip to your plugins directory, which usually is /wp-content/plugins/.
- Activer le plugin
- Go to wp-admin > Tools > Custom Post Type Cleanup and see if there are unused custom post type posts in the database.
Journal de modifications
Tested plugin to WP 6.5 on newer PHP versions
1.3.2
- Tested plugin to WP 6.5 on newer PHP versions.
1.3.0
- Add batch size option to admin form.
1.2.0
- Add ability to re-register unused custom post types.
Pour les développeurs
Est-ce votre plugin ? Montrez les chiffres.
Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.
FAQ
Custom Post Type Cleanup: quick answers
Réponses directes, extraites des données en direct WordPress.org.
Source : WordPress.org
Is Custom Post Type Cleanup free?
Yes. Custom Post Type Cleanup is free to download and use from the official WordPress.org plugin directory.
Is Custom Post Type Cleanup safe to use in 2026?
Custom Post Type Cleanup shows warning signs in 2026 — compare the alternatives below before installing. It runs on 1K+ sites, is rated 5/5 and was last updated 3 years ago, and scores 33/100 on our health check.
How many websites use Custom Post Type Cleanup?
Custom Post Type Cleanup is active on 1K+ WordPress websites and has been downloaded 29,051 times since it launched in August 2017. It was downloaded 387 times in the last 30 days.
Does Custom Post Type Cleanup work with WordPress 7.1?
Custom Post Type Cleanup is officially tested up to WordPress 6.5.15, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
When was Custom Post Type Cleanup last updated?
The latest version, 1.3.2, was released on April 20, 2024 (3 years ago).
Who makes Custom Post Type Cleanup?
Custom Post Type Cleanup is developed and maintained by keesiemeijer.
Propulsé par PageForge
Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.
PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.
- CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
- Son propre titre, URL, SEO champs et schéma pour chaque page
- Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
- Gratuit sur WordPress.org, pas de carte de crédit



