A fast and safe workflow to review a WordPress/WooCommerce admin and remove unused plugins, ACF groups, CPTs, and clutter.
List all plugins:
wp plugin listDetailed list:
wp plugin list --format=tableLook for:
- inactive plugins
- duplicate functionality
- old migration/import plugins
- abandoned tools
- debugging plugins
- page builder leftovers
Delete inactive plugins:
wp plugin delete $(wp plugin list --status=inactive --field=name)Check each plugin and ask:
- Is it still used?
- Is there overlap with another plugin?
- Is it only for temporary migration/import?
- Is WooCommerce already handling this functionality?
Common cleanup candidates:
- duplicate SEO plugins
- old cache plugins
- old security plugins
- staging/migration plugins
- import/export tools
- unused payment/shipping plugins
List all field groups:
SELECT post_title, post_status
FROM wp_posts
WHERE post_type = 'acf-field-group';Check whether groups are still used in:
- templates
- Gutenberg blocks
- Flexible Content
- Options pages
- WooCommerce customizations
Search theme/plugin files:
grep -R "get_field(" wp-content/themes/
grep -R "the_field(" wp-content/themes/
grep -R "acf_add_local_field_group" wp-content/Search for specific field names:
grep -R "field_name_here" wp-content/If nothing references the field/group and editors do not use it, it may be removable.
Check:
wp-content/themes/YOUR_THEME/acf-json/Look for:
- duplicate field groups
- old renamed groups
- abandoned experiments
- invalid JSON
Remove stale JSON carefully.
Then sync only valid field groups in admin.
List CPTs:
wp post-type listCheck number of posts:
wp post list --post_type=YOUR_TYPE --format=countCandidates for removal:
- zero posts
- no frontend usage
- no archive/template
- no menu references
Look for unused:
- payment gateways
- shipping methods
- quote plugins
- inventory sync plugins
- feed/export plugins
Also review:
- scheduled actions
- webhooks
- cron events
List cron events:
wp cron event listRemove unnecessary admin clutter:
- plugin upsells
- abandoned settings pages
- duplicate menu items
- old forms/builders
- hidden ACF options pages
List tables:
wp db tablesLook for old plugin leftovers:
Examples:
- wp_actionscheduler_*
- wp_oldplugin_*
- wp_backup_*
- wp_revslider_*
- wp_aiowps_*
Always verify before deleting.
Install temporarily:
https://wordpress.org/plugins/query-monitor/
Useful for spotting:
- slow plugins
- excessive queries
- unnecessary hooks
- scripts/styles loading everywhere
Always before cleanup:
- backup database
- backup uploads
- backup theme/plugins
Recommended process:
- deactivate plugin
- test frontend
- test admin
- wait/verify
- permanently remove
Track cleanup progress:
| Item | Used? | Where? | Remove? |
|---|---|---|---|
| Plugin | yes/no | checkout/admin/frontend | yes/no |
| ACF Group | template/block | location | yes/no |
| CPT | archive/posts | frontend | yes/no |
If short on time, prioritize:
- Delete inactive plugins
- Remove unused ACF groups
- Remove old import/migration plugins
- Remove duplicate SEO/cache/security plugins
- Remove orphaned CPTs
- Clean Action Scheduler clutter
This usually removes most admin clutter quickly.