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

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

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