| 1 |
<?php if (!defined('ABSPATH')) die('No direct access allowed'); ?> |
| 2 |
|
| 3 |
<div id="wp-optimize-database-table-analysis" class="wpo_section wpo_group premium-only"> |
| 4 |
<div class="wpo-fieldgroup"> |
| 5 |
<div class="switch-container"> |
| 6 |
<label class="switch"> |
| 7 |
<input id="enable-db-analysis" name="enable-db-analysis" type="checkbox" value="true"> |
| 8 |
<span class="slider round"></span> |
| 9 |
</label> |
| 10 |
<label for="enable-db-analysis"> |
| 11 |
<?php esc_html_e('Run the query analysis for all executed queries in this site', 'wp-optimize'); ?> |
| 12 |
</label> |
| 13 |
</div> |
| 14 |
|
| 15 |
<button disabled=disabled id="wpo-wipe-table-usage-data" class="button"><?php esc_html_e('Wipe usage information', 'wp-optimize'); ?></button> |
| 16 |
|
| 17 |
<label style="margin-top: 5px; display: block;"> |
| 18 |
<?php esc_html_e('Delete all the information about queries that are currently stored in the database', 'wp-optimize'); ?> |
| 19 |
</label> |
| 20 |
|
| 21 |
<div id="wpo-save-options-response" class="hidden"></div> |
| 22 |
|
| 23 |
</div> |
| 24 |
<div class="wpo-table-usage__premium-mask"> |
| 25 |
<a class="wpo-table-usage__premium-link" href="<?php echo esc_url($wp_optimize->premium_version_link);?>&utm_content=enable_table_usage" target="_blank"><?php esc_html_e('Enable table usage analysis with WP-Optimize Premium.', 'wp-optimize'); ?></a> |
| 26 |
</div> |
| 27 |
</div><!-- end #wp-optimize-database-table-analysis --> |
| 28 |
|