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

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

/**
 * Render callback for ggmc/cart-display block.
 */
function render_ggmc_cart_display_block( $attributes ) {
    $adapter = new GGMC_Block_Adapter( $attributes );
    ob_start();
    ggmc_cart_display_render( $adapter );
    return ob_get_clean();
}
