File "woof_text_filter.php"

Full Path: /home/vantageo/public_html/cache/cache/.wp-cli/wp-content/plugins/woocommerce-products-filter/ext/by_text/views/shortcodes/woof_text_filter.php
File size: 1.63 KB
MIME-type: text/x-php
Charset: utf-8

<?php
if (!defined('ABSPATH'))
    die('No direct access allowed');
global $WOOCS;
$search_id = uniqid('woof_txt_search');
?>
<div data-css-class="woof_text_search_container" class="woof_text_search_container woof_container woof_container_woof_text">
    <div class="woof_container_overlay_item"></div>
    <div class="woof_container_inner">
        <a href="javascript:void(0);"  class="woof_text_search_go"></a>
        <label class="woof_wcga_label_hide" for="<?php esc_attr_e($search_id) ?>"><?php esc_html_e('Text search', 'woocommerce-products-filter') ?></label>
        <?php
        $woof_text = '';
        $request = woof()->get_request_data();

        if (isset($request['woof_text'])) {
            $woof_text = stripslashes($request['woof_text']);
        }
        ?>
        <input type="search" class="woof_husky_txt-input" id="<?php esc_attr_e($search_id) ?>"
        <?php
        foreach ($data as $key => $value) {
            if ($key === 'placeholder') {
                ?> placeholder =" <?php esc_html_e($value) ?>"
                       <?php
                   } elseif (!in_array($key, array('notes_for_customer'))) {
                       echo esc_attr(" data-" . $key) . '="' . esc_html($value) . '"';
                   }
               }
               ?>			   
               value="<?php esc_html_e($woof_text) ?>" autocomplete="off" />

        <?php if (isset($data['notes_for_customer']) AND!empty($data['notes_for_customer'])): ?>
            <span class="woof_text_notes_for_customer"><?php echo stripcslashes(wp_kses_post(wp_unslash($data['notes_for_customer']))); ?></span>
        <?php endif; ?>   		
    </div>
</div>