acf/field_group/auto_add_first_field
acf/field_group/auto_add_first_field
Appears in: advanced-custom-fields.6.3.5
Hook Type: filter
Displaying hooks found in version: advanced-custom-fields.6.3.5apply_filters('acf/field_group/auto_add_first_field') is found 1 times:
- /includes/admin/views/acf-field-group/fields.php line 231920212223242526272829
* @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'
;
}
}
?>