<?php
if ( ! defined( 'ABSPATH' ) ) { exit; }

require_once dirname( __DIR__, 3 ) . '/widgets/tags/widget-order-confirmation/elementor-render.php';

/**
 * Render callback for ggmc/order-confirmation block.
 */
function render_ggmc_order_confirmation_block( $attributes ) {
    $adapter = new GGMC_Block_Adapter( $attributes );
    ob_start();
    ggmc_order_confirmation_render( $adapter );
    return ob_get_clean();
}
