Support

Account

Home Forums Backend Issues (wp-admin) ACF Local JSON "Awaiting Save"? Reply To: ACF Local JSON "Awaiting Save"?

  • Permissions are not the issue. I inherited a WP project already using ACF Pro where the fields weren’t saved as JSON. Using Sage theme, ACF typically knows where to find the acf-json directory. In this case, it didn’t. I also tried adding the WP filter to specify the location of the acf-json directory, and while it saves the field groups as json files into the acf-json directory, I still get “Awaiting Save” next to all my field groups.


    @hdevilbiss
    thank you, but that still didn’t work for me. I started from scratch without importing any JSON files, created a new field group, ticked the box to save as JSON, and still got “Awaiting Save” even though the JSON file has been save to the acf-json directory.

    `
    add_filter(‘acf/settings/save_json’, __NAMESPACE__ . ‘\\my_acf_json_save_point’);

    function my_acf_json_save_point( $path ) {
    // update path
    $path = get_stylesheet_directory() . ‘/resources/acf-json’;
    // return
    return $path;
    }
    `