Giter Site home page Giter Site logo

whatwedo-acf-cleaner's Introduction

=== whatwedo ACF Cleaner ===
Contributors:      whatwedo, marcwieland95
Tags:              admin, advanced custom fields, acf, cleanup, cleaner, metadata
Requires at least: 5.5
Tested up to:      5.6
Requires PHP:      7.0
Stable tag:        1.2.0
License:           MIT
License URI:       https://opensource.org/licenses/MIT

Cleanup old metadata created by Advanced Custom Fields.

== 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).

== Installation ==

= Manual Installation =

1. Upload the entire `/wwd-acf-cleanup` directory to the `/wp-content/plugins/` directory.
2. Activate Whatwedo ACF Cleanup through the 'Plugins' menu in WordPress.
3. Do a database backup manually or a third party tool
4. Go to "Tools / ACF Cleaner"
4. 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 .

== Contribute ==

Developed with โ™ฅ by [whatwedo](https://whatwedo.ch) in Bern.

This plugin was created for our own usage to clean a big database from old ACF data.
It's not under active development but can be used (on your own risk).

== Changelog ==

= 1.0.0 (2020-02-22) =
* First release
= 1.1.0 (2022-05-15) =
* Added single post metabox with detailed info for unused fields
= 1.2.0 (2022-06-15) =
* More precise unused fields detection added

whatwedo-acf-cleaner's People

Contributors

triliput avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.