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

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

/**
 * Render callback for ggmc/checkout block.
 */
function render_ggmc_checkout_block( $attributes ) {
    $adapter = new GGMC_Block_Adapter( $attributes );
    ob_start();
    ggmc_checkout_render( $adapter );
    return ob_get_clean();
}
