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

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

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