acf/field_group/auto_add_first_field
acf/field_group/auto_add_first_field
Appears in: advanced-custom-fields.6.2.0
Hook Type: filter
Displaying hooks found in version: advanced-custom-fields.6.2.0apply_filters('acf/field_group/auto_add_first_field') is found 1 times:
- /includes/admin/views/acf-field-group/fields.php line 23
* @since 6.2 * * @param bool $bool If an empty field group should render with a new field auto appended. */ if ( apply_filters( 'acf/field_group/auto_add_first_field', true ) ) { $wrapper_class = ' acf-auto-add-field'; } else { $wrapper_class = ' -empty'; } } ?>