| Server IP : 35.236.43.222 / Your IP : 216.73.216.143 Web Server : Apache System : Linux order-form-vm-001 5.10.0-37-cloud-amd64 #1 SMP Debian 5.10.247-1 (2025-12-11) x86_64 User : deploy ( 1002) PHP Version : 8.1.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/ravel.network/public/wp-content/plugins/independent-analytics/views/ |
Upload File : |
@php /** @var \IAWP\Plugin_Group[] $plugin_groups */ @endphp
@php /** @var \IAWP\Statistics\Statistic[] $statistics */ @endphp
@php /** @var bool $is_dashboard_widget */ @endphp
@php /** @var bool $hide_unfiltered_statistics */ @endphp
<div id="quick-stats" data-controller="quick-stats" class="<?php echo esc_attr($quick_stats_html_class); ?>"><?php
if (!$is_dashboard_widget) {
echo iawp_blade()->run('plugin-group-options', [
'option_type' => 'quick_stats',
'option_name' => __('Toggle Stats', 'independent-analytics'),
'option_icon' => 'visibility',
'plugin_groups' => $plugin_groups,
'options' => $statistics,
]);
} ?>
{{-- Quick stats --}}
<div class="iawp-stats total-of-<?php echo esc_attr($total_stats); ?>"><?php
foreach ($statistics as $statistic) {
if ($is_dashboard_widget && !$statistic->is_visible_in_dashboard_widget()) {
continue;
}
if(!$statistic->is_group_plugin_enabled()) {
continue;
}
echo iawp_blade()->run('quick-stat', [
'id' => $statistic->id(),
'name' => $statistic->name(),
'formatted_value' => $statistic->formatted_value(),
'formatted_unfiltered_value' => $hide_unfiltered_statistics ? null : $statistic->formatted_unfiltered_value(),
'growth' => $statistic->growth(),
'formatted_growth' => $statistic->formatted_growth(),
'growth_html_class' => $statistic->growth_html_class(),
'icon' => $statistic->icon(),
'is_visible' => $statistic->is_visible()
]);
} ?>
</div>
</div>