first commit

This commit is contained in:
2026-03-05 13:07:40 +01:00
commit 64ba0721ee
25709 changed files with 4691006 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
if ( $vars['multilingual']['is-multilingual'] ): ?>
<div class="dgwt-wcas-analytics-langs">
<h3><?php _e( 'Language', 'ajax-search-for-woocommerce' ); ?></h3>
<p class="dgwt-wcas-analytics-subtitle"><?php _e( 'Shows stats only for the selected language.', 'ajax-search-for-woocommerce' ); ?></p>
<select class="js-dgwt-wcas-analytics-lang">
<?php foreach ( $vars['multilingual']['langs'] as $lang => $label ): ?>
<option value="<?php echo esc_html( $lang ); ?>" <?php selected( $vars['multilingual']['current-lang'], $lang, true ); ?>><?php echo esc_html( $label ); ?></option>
<?php endforeach; ?>
</select>
</div>
<?php endif; ?>