PluginProbe
Visualizer – Tables & Charts Manager with Built-in AI Generator / 3.7.7
Visualizer – Tables & Charts Manager with Built-in AI Generator v3.7.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 | classes/Visualizer/Plugin.php +7 -11 4.0.63.7.7 View file →
@@ -27,9 +27,9 @@
27 27 */
28 28 class Visualizer_Plugin {
29 29
30 30 const NAME = 'visualizer';
31 - const VERSION = '4.0.6';
31 + const VERSION = '3.7.7';
32 32
33 33 // custom post types
34 34 const CPT_VISUALIZER = 'visualizer';
35 35
@@ -56,10 +56,8 @@
56 56 const ACTION_DELETE_CHART = 'visualizer-delete-chart';
57 57 const ACTION_UPLOAD_DATA = 'visualizer-upload-data';
58 58 const ACTION_EXPORT_DATA = 'visualizer-export-data';
59 59
60 - const STORE_URL = 'https://store.themeisle.com/';
61 -
62 60 /**
63 61 *Action used for fetching specific users/roles for permissions.
64 62 */
65 63 const ACTION_FETCH_PERMISSIONS_DATA = 'visualizer-fetch-permissions-data';
@@ -91,9 +89,8 @@
91 89 const FILTER_UNDO_REVISIONS = 'visualizer-undo-revisions';
92 90 const FILTER_HANDLE_REVISIONS = 'visualizer-handle-revisions';
93 91 const FILTER_GET_CHART_DATA_AS = 'visualizer-get-chart-data-as';
94 92 const FILTER_HANDLE_CACHE_EXPIRATION_TIME = 'visualizer-handle-expiration-time';
95 - const FILTER_CHART_TITLE = 'the_title';
96 93
97 94 const CF_DB_SCHEDULE = 'visualizer-db-schedule';
98 95 const CF_DB_QUERY = 'visualizer-db-query';
99 96
@@ -99,14 +96,12 @@
99 96
100 97 const CF_CHART_URL = 'visualizer-chart-url';
101 98 const CF_CHART_SCHEDULE = 'visualizer-chart-schedule';
102 99 // Added by Ash/Upwork
103 - const PRO_TEASER_URL = 'https://themeisle.com/plugins/visualizer-charts-and-graphs/upgrade/';
100 + const PRO_TEASER_URL = 'https://themeisle.com/plugins/visualizer-charts-and-graphs/upgrade/#pricing';
104 101 const PRO_TEASER_TITLE = 'Check PRO version ';
105 102
106 103 const CF_CHART_CACHE = 'visualizer-chart-cache';
107 - const CF_JSON_WOOCOMMERCE_SOURCE = 'visualizer-woocommerce-source';
108 - const CF_IS_WOOCOMMERCE_SOURCE = 'visualizer-is-woocommerce-source';
109 104
110 105 /**
111 106 * Name of the option for WordPress DB.
112 107 */
@@ -221,12 +216,12 @@
221 216 * @since 1.0.0
222 217 *
223 218 * @access public
224 219 *
225 - * @param string $class_name The name of the module to use in the plugin.
220 + * @param string $class The name of the module to use in the plugin.
226 221 */
227 - public function setModule( $class_name ) {
228 - $this->_modules[ $class_name ] = new $class_name( $this );
222 + public function setModule( $class ) {
223 + $this->_modules[ $class ] = new $class( $this );
229 224 }
230 225
231 226 /**
232 227 * Private clone method.
@@ -240,11 +235,12 @@
240 235
241 236 /**
242 237 * For local testing, overrides the 'themeisle_log_event' hook and redirects to error.log.
243 238 */
244 - final public function themeisle_log_event_debug( $name, $message, $type, $file, $line ) {
239 + final function themeisle_log_event_debug( $name, $message, $type, $file, $line ) {
245 240 if ( Visualizer_Plugin::NAME !== $name ) {
246 241 return;
247 242 }
248 243 error_log( sprintf( '%s (%s): %s in %s:%s', $name, $type, $message, $file, $line ) );
249 244 }
245 +
250 246 }