Home › Forums › General Issues › Why does add_field always clear the cache? › Reply To: Why does add_field always clear the cache?
For those who wish to help out can people please comment on the following files
wp_cache_delete( “get_field/key={$field[‘key’]}”, ‘acf’ );
wp_cache_delete( “get_fields/parent={$field[‘parent’]}”, ‘acf’ );
In acf-pro/core/local.php on line 223.
Let’s see what effect this will have. Hopefully these lines are not required.
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!
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 Privacy Policy. If you continue to use this site, you consent to our use of cookies.