Support

Account

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.