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

// Load the existing render function.
require_once dirname( __DIR__, 3 ) . '/widgets/tags/widget-product-grid/elementor-render.php';

/**
 * Render callback for ggmc/product-grid block.
 */
function render_ggmc_product_grid_block( $attributes ) {
    $adapter = new GGMC_Block_Adapter( $attributes );
    ob_start();
    ggmc_product_grid_render( $adapter );
    return ob_get_clean();
}
