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;
}
`
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.