acf/field_group/auto_add_first_field

acf/field_group/auto_add_first_field

Hook Type: filter

See hook in core

Displaying hooks found in version: advanced-custom-fields.6.3.5

apply_filters('acf/field_group/auto_add_first_field') is found 1 times:

  • /includes/admin/views/acf-field-group/fields.php line 23
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
         * @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';
        }
    }
    ?>