File "woof_found_count.php"
Full Path: /home/vantageo/public_html/cache/cache/cache/cache/cache/cache/cache/.wp-cli/wp-content/plugins/woocommerce-products-filter/views/shortcodes/woof_found_count.php
File size: 609 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
if (!defined('ABSPATH'))
die('No direct access allowed');
//***
global $wp_query;
$show = false;
if ($this->is_isset_in_request_data($this->get_swoof_search_slug())) {
$show = true;
}
if (isset($this->settings['woof_turbo_mode']['enable']) AND $this->settings['woof_turbo_mode']['enable']) {
$show = true;
}
?>
<?php if ($show): ?>
<span class="woof_found_count"><?php esc_html_e(WOOF_REQUEST::isset('woof_wp_query_found_posts') ? WOOF_REQUEST::get('woof_wp_query_found_posts') : $wp_query->found_posts) ?></span>
<?php else: ?>
<span class="woof_found_count"></span>
<?php endif; ?>