PluginProbe
Visualizer – Tables & Charts Manager with Built-in AI Generator / 2.0.3
Visualizer – Tables & Charts Manager with Built-in AI Generator v2.0.3
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 | classes/Visualizer/Plugin.php +2 -23 3.0.92.0.3 View file →
@@ -27,9 +27,9 @@
27 27 */
28 28 class Visualizer_Plugin {
29 29
30 30 const NAME = 'visualizer';
31 - const VERSION = '3.0.9';
31 + const VERSION = '2.0.3';
32 32
33 33 // custom post types
34 34 const CPT_VISUALIZER = 'visualizer';
35 35
@@ -39,12 +39,11 @@
39 39 const CF_SERIES = 'visualizer-series';
40 40 const CF_DEFAULT_DATA = 'visualizer-default-data';
41 41 const CF_SETTINGS = 'visualizer-settings';
42 42
43 - const CF_SOURCE_FILTER = 'visualizer-source-filter';
44 -
45 43 // custom actions
46 44 const ACTION_GET_CHARTS = 'visualizer-get-charts';
45 + const ACTION_TRACK = 'visualizer-track';
47 46 const ACTION_CREATE_CHART = 'visualizer-create-chart';
48 47 const ACTION_EDIT_CHART = 'visualizer-edit-chart';
49 48 const ACTION_CLONE_CHART = 'visualizer-clone-chart';
50 49 const ACTION_DELETE_CHART = 'visualizer-delete-chart';
@@ -51,20 +50,13 @@
51 50 const ACTION_UPLOAD_DATA = 'visualizer-upload-data';
52 51 // Added by Ash/Upwork
53 52 const ACTION_EXPORT_DATA = 'visualizer-export-data';
54 53
55 - /**
56 - *Action used for fetching specific users/roles for permissions.
57 - */
58 - const ACTION_FETCH_PERMISSIONS_DATA = 'visualizer-fetch-permissions-data';
59 -
60 54 // custom filters
61 55 const FILTER_CHART_WRAPPER_CLASS = 'visualizer-chart-wrapper-class';
62 56 const FILTER_GET_CHART_SERIES = 'visualizer-get-chart-series';
63 57 const FILTER_GET_CHART_DATA = 'visualizer-get-chart-data';
64 58 const FILTER_GET_CHART_SETTINGS = 'visualizer-get-chart-settings';
65 - const FILTER_UNDO_REVISIONS = 'visualizer-undo-revisions';
66 - const FILTER_HANDLE_REVISIONS = 'visualizer-handle-revisions';
67 59
68 60 const CF_CHART_URL = 'visualizer-chart-url';
69 61 const CF_CHART_SCHEDULE = 'visualizer-chart-schedule';
70 62 // Added by Ash/Upwork
@@ -98,11 +90,8 @@
98 90 *
99 91 * @access private
100 92 */
101 93 private function __construct() {
102 - if ( VISUALIZER_DEBUG ) {
103 - add_action( 'themeisle_log_event', array( $this, 'themeisle_log_event_debug' ), 10, 5 );
104 - }
105 94 }
106 95
107 96 /**
108 97 * Returns singletone instance of the plugin.
@@ -186,17 +175,7 @@
186 175 *
187 176 * @access private
188 177 */
189 178 private function __clone() {
190 - }
191 -
192 - /**
193 - * For local testing, overrides the 'themeisle_log_event' hook and redirects to error.log.
194 - */
195 - final function themeisle_log_event_debug( $name, $message, $type, $file, $line ) {
196 - if ( Visualizer_Plugin::NAME !== $name ) {
197 - return;
198 - }
199 - error_log( sprintf( '%s (%s): %s in %s:%s', $name, $type, $message, $file, $line ) );
200 179 }
201 180
202 181 }