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

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

/**
 * Render callback for ggmc/taxonomy-header block.
 */
function render_ggmc_taxonomy_header_block( $attributes ) {
    $adapter = new GGMC_Block_Adapter( $attributes );
    ob_start();
    ggmc_taxonomy_header_render( $adapter );
    return ob_get_clean();
}
