Plugin info

Total downloads: 14,768
Active installs: 900
Total reviews: 9
Average rating: 4.8
Support threads opened: 1
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 3
Last updated: 10/1/2024 (456 days ago)
Added to WordPress: 2/22/2021 (4 years old)
Minimum WordPress version: 5.5
Tested up to WordPress version: 6.6.4
Minimum PHP version: 7.0

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 456 days ago • Support resolved 0% • 9 reviews

18/100

Is whatwedo ACF Cleaner abandoned?

Possibly abandoned (last update 456 days ago).

Compatibility

Requires WordPress: 5.5
Tested up to: 6.6.4
Requires PHP: 7.0

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

WP Clean Up
Rating 4.7/5 (46 reviews)Active installs 10,000
Database Toolset
Rating 5.0/5 (8 reviews)Active installs 800
ZS Action Scheduler Optimizer
Rating 5.0/5 (1 reviews)Active installs 400
Code Cleaner
Rating 0.0/5 (0 reviews)Active installs 20
Nietzsche – WP Head Cleaner
Rating 0.0/5 (0 reviews)Active installs 10
Database Cleaner
Rating 4.9/5 (142 reviews)Active installs 10,000

Description

We analyze the post of the selected post types against the ACF groups in use. Afterwards we remove all data from deleted groups.
There’s a dry run available (discovery) to see how many fields would get removed. On the actual cleanup you get prompted because it can’t be undone (so make a backup first).

Contribute

Developed with ♥ by whatwedo in Bern.
Thanks to TrilipuT for contributing.

This plugin was initially created for our own usage to clean a big database from old ACF data.

Check out the GitHub repository and submit pull requests or open issues

Installation

The plugin can be found it the WordPress Plugin Directory. Search for “ACF Cleaner”.

Manual Installation

  1. Upload the entire /wwd-acf-cleaner directory to the /wp-content/plugins/ directory.
  2. Activate “whatwedo ACF Cleaner” through the ‘Plugins’ menu in WordPress.
  3. Do a database backup manually or use a third party tool
  4. Go to “Tools / ACF Cleaner”
  5. Select the post types you want to clean and run it

Frequently Asked Questions

What about conditional fields

Conditional fields are not taken in account at this point. This is probably also the issue why there’s nothing like this baked into the ACF plugin itself. Down the road it gets pretty complex.

Output the names of the deleted fields

We are aware that it would be handy to know which exact fields will get deleted, so the user can analyzing the actual data. This could be integrated in a future release.
We already know the name of the fields and we’re also returning them from the server. Since they’re a lot of unordered data, we don’t do something proper with those in the frontend .

Support more than just post meta

ACF allows fields for term meta, user meta etc and not just post meta. This plugin only works with post meta for now.
There’s a ticket in the WordPress Support page for this: https://wordpress.org/support/topic/support-more-than-just-post-meta/. We’re happy to accept pull requests.

Review feed

Tom Slominski
7/11/2023

Does what it says on the tin

Does what it says on the tin. I needed something to clear out ACF fields from a previous theme, and this did the job quickly and efficiently.

Screenshots

  1. The option page for the plugin. You can find it in "Tools / ACF Cleaner"

    The option page for the plugin. You can find it in "Tools / ACF Cleaner"

  2. On every post type with unused data the following metabox is shown

    On every post type with unused data the following metabox is shown

Changelog

1.2.2 (2024-10-01)

  • Test if everything still works with WordPress 6.6 and PHP 8.3 and bump versions for the WP repo

1.2.1 (2023-05-25)

  • Prevent error when no clone field is used (thanks to melcarthus for reporting)

1.2.0 (2023-04-20)

  • Find more orphans (repeater and clone fields)
  • Improve loading of plugin when included via a theme
  • Return notice when Advanced Custom Fields is not installed
  • Show more CPT in the list (also not public once are visible now)

1.1.0 (2022-07-14)

  • Add single post metabox with detailed info for unused fields (thanks to TrilipuT)
  • More precise unused fields detection added (thanks to TrilipuT)
  • Add check if Advanced Custom Fields is installed (thanks to sebastian_a) for reporting it

1.0.0 (2020-02-22)

  • First release