Steve Pfisterer
Steve Pfisterer
What is the output from the entire FieldsGroupBuilder build function, what does the resulting configuration array look like? According to the [ACF docs](https://www.advancedcustomfields.com/resources/register-fields-via-php/#field-type%20settings), array is the default return value for...
Can you do a `print_r($builder->build());` replacing $builder with whatever the variable is named. >
This seems similar to other issues: #106, #81 and at this point I'm still not sure why. Can you export the JSON versions of the version you built with the...
Ok next question is when the field getting registered in code? Is it getting executed on the front end, before the ACF `get_field` function is called? Can you put some...
@dalepgrant After looking into it again, I think the cause is defining the fields in the `init` WordPress action. I was finally able to recreate this in a Sage theme....
So more specifically it has to do where the `add_action('init', function` or `add_action('acf/init', function` function is being defined, if you're using them. In a Sage theme, if I move it...
@kaisermann great question. You're implementation looks clean with having each FieldsBuilder in its own file. Do you find yourself using other using the `->addFields` function to take fields of one...
@indrek-k Wow thats awesome. I'm humbled that people use the library at all, let alone make it a dependency of another library :) This does look to solve the same...
@neverin772 I'm not sure what the issue is here. When you print_r the results of ->build() is return_format => 'value' in there still? Looking at ACF docs, the proper setting...
Thats a pretty interesting idea. There is no way for a FieldsBuilder class to import JSON currently. Depending on how much work you have to do to the existing fields,...