File "woof_quick_search_results.php"

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

<?php if (!defined('ABSPATH')) die('No direct access allowed'); ?>

<?php
$parse_tpl = explode("/", $data['template_result']);
if (count($parse_tpl) > 1 AND $parse_tpl[0] == 'custom') {
    $data['template_result'] = $parse_tpl[1];
}
?>
<div class="woof_quick_search_results" data-show_products="<?php esc_attr_e($data['always_show_products']) ?>" data-orderby="<?php esc_attr_e($data['orderby']) ?>" data-template_structure="<?php esc_attr_e($data['template_structure']) ?>" data-per_page="<?php esc_attr_e($data['per_page']) ?>" data-template="<?php esc_attr_e($data['template_result']) ?>">

</div>
<div style="display:none"class="woof_qs_templates woof_qs_templates_<?php esc_attr_e($data['template_result']) ?>">
    <?php
    

    if (count($parse_tpl) > 1 AND $parse_tpl[0] == 'custom') {
        woof()->render_html_e(get_stylesheet_directory() . DIRECTORY_SEPARATOR . 'woof_qs_templates' . DIRECTORY_SEPARATOR . $parse_tpl[1] . DIRECTORY_SEPARATOR . 'output.php', $data);
    } else {
        woof()->render_html_e(WOOF_EXT_PATH . 'quick_search' . DIRECTORY_SEPARATOR . 'views' . DIRECTORY_SEPARATOR . 'templates' . DIRECTORY_SEPARATOR . $parse_tpl[0] . DIRECTORY_SEPARATOR . 'output.php', $data);
    }
    ?>
</div>