File "woof.php"

Full Path: /home/vantageo/public_html/cache/cache/cache/cache/cache/cache/cache/.wp-cli/wp-content/plugins/woocommerce-products-filter/ext/meta_filter/html_types/textinput/views/woof.php
File size: 2.1 KB
MIME-type: text/x-php
Charset: utf-8

<?php if (!defined('ABSPATH')) die('No direct access allowed'); ?>
<div data-css-class="woof_textinput_container" class="woof_textinput_container woof_container  woof_container_<?php esc_attr_e("textinput_".$meta_key) ?>">
    <div class="woof_container_overlay_item"></div>
    <div class="woof_container_inner">
        <?php
        
        $woof_text = '';
        $request = woof()->get_request_data();

        if (isset($request['textinput_'.$meta_key]))
        {
            $woof_text = $request['textinput_'.$meta_key];
        }
        //+++
        if (!isset($placeholder))
        {
            $p = esc_html__('enter a text here ...', 'woocommerce-products-filter');
        }

        if (isset($options['title']) AND ! isset($placeholder))
        {
            if (!empty($options['title']))
            {
                $p = $options['title'];
                $p = WOOF_HELPER::wpml_translate(null, $p);
                $p = esc_html__($p, 'woocommerce-products-filter');
            }

        }
        //***
        $unique_id = uniqid('woof_meta_filter_');
        ?>

        <div class="woof_show_textinput_container ">
            <img width="36" class="woof_show_text_search_loader" style="display: none;" src="<?php echo esc_url($loader_img) ?>" alt="loader" />
            <a href="javascript:void(0);" data-uid="<?php esc_attr_e($unique_id) ?>" class="woof_textinput_go <?php esc_attr_e($unique_id) ?>"></a>
            <label class="woof_wcga_label_hide"  for="<?php esc_attr_e($unique_id)  ?>"><?php esc_html_e(isset($placeholder) ? $placeholder : $p); ?></label>
			<input type="search" class="woof_meta_filter_textinput <?php esc_attr_e($unique_id) ?>" id="<?php esc_attr_e($unique_id) ?>" data-uid="<?php esc_attr_e($unique_id) ?>" data-auto_res_count="<?php echo intval(isset($auto_res_count) ? $auto_res_count : 0) ?>" data-auto_search_by="<?php esc_html_e(isset($auto_search_by) ? $auto_search_by : "") ?>" placeholder="<?php esc_html_e(isset($placeholder) ? $placeholder : $p) ?>" name="textinput_<?php esc_attr_e($meta_key) ?>" value="<?php esc_attr_e($woof_text) ?>" />
        </div>

    </div>
</div>