Home › Forums › Backend Issues (wp-admin) › Edits to Field Groups Synced Through JSON › Reply To: Edits to Field Groups Synced Through JSON
It’s a custom plugin. Here’s the function I’m using to load the JSON files with the field groups:
/** Start: Create JSON save point */
add_filter('acf/settings/save_json', 'wed_acf_json_save_point');
function wed_acf_json_save_point( $path ) {
$path = plugin_dir_path( __FILE__ ) . 'acf-json/';
return $path;
}
/** End: Create JSON save point */
/** Start: Create JSON load point */
add_filter('acf/settings/load_json', 'wed_acf_json_load_point');
/** End: Create JSON load point */
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.