Home Forums Feature Requests Automatic Synchronized Json Reply To: Automatic Synchronized Json

  • With the code from jessepearson, I can’t manage the new fields in ACF (they are not visible) and they can’t be added by syncing as there’s not sync option anymore. Did this work at some point, jessepearson?

    I tried to continue on this code, but got nowhere so far. It would be great if ACF added a hook to run the complete sync process so we would be able to do something like this:

    function acf_sync_fields_complete($upgrader_object = null, $options = null) {
    	if ($options['action'] == 'update' && $options['type'] == 'theme' ) :
    add_action( 'upgrader_process_complete', 'acf_sync_fields_complete', 10, 2);

    Note: Above code is not working