Support

Account

Home Forums General Issues get_field returning null after update Reply To: get_field returning null after update

  • @benjamin74

    You have your JSON load point set as

    
    add_filter('acf/settings/load_json', 'ben_wf_acf_json_load_point');
    function ben_wf_acf_json_load_point( $paths ) {
    	// remove original path (optional)
    	unset($paths[0]);
    	// append path
    	$paths[] = BENWF_PLUGIN_PATH . 'acf-config';
    	// return
    	return $paths;
    }
    

    by using unset($paths[0]); only the json files from your plugin will be loaded. If you want to add an addional load point then you need to remove that.

    Also by changing the save point you are changing the save point for every field group to be saved into your plugin folder.