<?php
$shortcode_atts = betterdocs()->template_helper->shortcode_atts( [
    'attachment_heading_label'    => $attachment_heading_label,
    'default_attachment_name'     => $default_attachment_name,
    'show_attachment_icon'        => $show_attachment_icon,
    'show_attachment_size'        => $show_attachment_size,
    'show_attachments_in_new_tab' => $show_attachments_in_new_tab,
    'show_attachments'            => true
], '', '' );

echo '<div class="betterdocs-attachment-root ' . esc_attr( $blockId ) . '">' . do_shortcode( "[betterdocs_attachments $shortcode_atts]" ) . '</div>';
