$arg ) { // A group made only of after_header_html (an upgrade block, a notice, a custom table) // brings its own wrapper, so the section card would only double the padding. $html_only = empty( $arg[ 'header' ] ) && empty( $arg[ 'fields' ] ) && empty( $arg[ 'submit_button' ] ) && ! empty( $arg[ 'after_header_html' ] ); if ( $html_only ) { echo ddfw_kses_form_html( $arg[ 'after_header_html' ] ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Escaped inside the helper. continue; } ?>