Closed adminazhar closed 2 years ago
Got it working by using defaults: config/acf.php
'fieldGroup' => ['label_placement' => 'left']
Pass an array to FieldsBuilder()
:
$example = new FieldsBuilder('example', ['label_placement' => 'left']);
should work.
Pass an array to
FieldsBuilder()
:$example = new FieldsBuilder('example', ['label_placement' => 'left']);
should work.
Thanks. Closing the issue.
After creating Fields using ACF GUI, there is option to control the Location. But with acf-composer there is no option to control the Field Group Settings. I wanted to change the label placement of the Field Group, but couldn't find any way to do it using acf-composer.
Is there anything i am missing, or currently acf-composer doesn't support Field Group Settings(Label Placement, Hide on Screen, Menu Order).
In official ACF Documentation is there a way to do it: https://www.advancedcustomfields.com/resources/register-fields-via-php/