<?php

if ( ! defined('ABSPATH') ) {
    exit;
}

?><span class="sfswp-container-handle-wrapper">
    <a href="javascript:void(0);" class="sfswp-open-container button" data-field="<?php echo esc_attr( $field_id ); ?>"><?php
        esc_html_e( 'Insert variable', 'searchfiltersort' );
    ?></a>
    <?php do_action( 'sfswp_after_seo_vars_button', $field_id, $field_html ); ?>
</span>
<?php echo $field_html; ?>
<div id="sfswp-vars-container-<?php echo esc_attr( $field_id ); ?>" data-container="<?php echo esc_attr( $field_id ); ?>" class="sfswp-vars-container">
    <ul class="sfswp-seo-vars-list"></ul>
</div>