Home › Forums › Backend Issues (wp-admin) › [plug-in] ACF cleaner [free] › Reply To: [plug-in] ACF cleaner [free]
I was looking for it as well;
ACF is great, but it really meshes up your database.
It even creates empty records (two for every entry) of empty values and it’s revisions… when you save an empty value and do some revisions on the same page, your database will explode with useless entries.
The project started as a stand-alone script (outside the WP environment), than I decided to run it by cronjobs, after that I realized it was more easy to wrap it into a plug-in.
So that’s why the code is a mix of plain-vanilla PHP and some WP-API’s 🙂
The only restriction is that your field-ID’s are prefixed with “ACF__” or “acf__” because I use this as an identifier for the queries.
Feel free to port; it’s completely open source.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
🚀 This week’s session of ACF Chat Fridays dips into the preliminary results of our first ever user survey. Don’t miss it! https://t.co/3UtvQbDwNm pic.twitter.com/kMwhaJTkZc
— Advanced Custom Fields (@wp_acf) May 9, 2023
© 2023 Advanced Custom Fields.
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.