PluginProbe
Visualizer – Tables & Charts Manager with Built-in AI Generator / 3.11.7
Visualizer – Tables & Charts Manager with Built-in AI Generator v3.11.7
4.0.7 4.0.6 4.0.5 4.0.4 4.0.3 3.0.5 3.0.6 3.0.7 3.0.8 3.0.9 3.1.0 3.1.1 3.1.2 3.1.3 3.10.0 3.10.1 3.10.10 3.10.11 3.10.12 3.10.13 3.10.14 3.10.15 3.10.2 3.10.3 3.10.4 All 148 releases
← All changes | templates/docs.php +28 -1 3.10.43.11.7 View file →
@@ -1,6 +1,17 @@
1 1 <?php
2 - $is_pro = Visualizer_Module::is_pro();
2 +/**
3 + * Docs page template
4 + */
5 +$is_pro = Visualizer_Module::is_pro();
6 +
7 +if (
8 + $_SERVER['REQUEST_METHOD'] === 'POST' &&
9 + isset( $_POST['_wpnonce']) &&
10 + wp_verify_nonce( $_POST['_wpnonce'], 'visualizer-feature-usage')
11 +) {
12 + update_option( 'visualizer_logger_flag', isset( $_POST['visualizer_logger_flag']) ? 'yes' : 'no');
13 +}
3 14 ?>
4 15 <div class="pro-feature">
5 16 <div class="pro-feature-inner">
6 17 <div class="pro-feature-features">
@@ -48,8 +59,24 @@
48 59 </div>
49 60 </div>
50 61 <div class="clear"></div>
51 62
63 + <div class="pro-feature">
64 + <div class="pro-feature-inner">
65 + <div class="pro-feature-features">
66 + <h2>Feature Usage</h2>
67 + <form method="post">
68 + <?php wp_nonce_field( 'visualizer-feature-usage' ); ?>
69 + <p>
70 + <input type="checkbox" id="visualizer_feature_usage" name="visualizer_logger_flag" value="1" <?php checked( get_option( 'visualizer_logger_flag' ), 'yes' ); ?> />
71 + <label for="visualizer_feature_usage">Help us improve Visualizer by sending us anonymous usage data. This will help us understand how you use the plugin and what features are most important to you.</label>
72 + </p>
73 + <p><input type="submit" class="button button-primary" value="Save" /></p>
74 + </form>
75 + </div>
76 + </div>
77 + </div>
78 + <div class="clear"></div>
52 79
53 80 <div class="pro-feature">
54 81 <div class="pro-feature-inner">
55 82 <div class="pro-feature-features">