PluginProbe
Visualizer – Tables & Charts Manager with Built-in AI Generator / 3.7.12
Visualizer – Tables & Charts Manager with Built-in AI Generator v3.7.12
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 -10 4.0.73.7.12 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.7';
31 + const VERSION = '3.7.12';
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';
@@ -99,14 +97,12 @@
99 97
100 98 const CF_CHART_URL = 'visualizer-chart-url';
101 99 const CF_CHART_SCHEDULE = 'visualizer-chart-schedule';
102 100 // Added by Ash/Upwork
103 - const PRO_TEASER_URL = 'https://themeisle.com/plugins/visualizer-charts-and-graphs/upgrade/';
101 + const PRO_TEASER_URL = 'https://themeisle.com/plugins/visualizer-charts-and-graphs/upgrade/#pricing';
104 102 const PRO_TEASER_TITLE = 'Check PRO version ';
105 103
106 104 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 105
110 106 /**
111 107 * Name of the option for WordPress DB.
112 108 */
@@ -221,12 +217,12 @@
221 217 * @since 1.0.0
222 218 *
223 219 * @access public
224 220 *
225 - * @param string $class_name The name of the module to use in the plugin.
221 + * @param string $class The name of the module to use in the plugin.
226 222 */
227 - public function setModule( $class_name ) {
228 - $this->_modules[ $class_name ] = new $class_name( $this );
223 + public function setModule( $class ) {
224 + $this->_modules[ $class ] = new $class( $this );
229 225 }
230 226
231 227 /**
232 228 * Private clone method.
@@ -240,11 +236,12 @@
240 236
241 237 /**
242 238 * For local testing, overrides the 'themeisle_log_event' hook and redirects to error.log.
243 239 */
244 - final public function themeisle_log_event_debug( $name, $message, $type, $file, $line ) {
240 + final function themeisle_log_event_debug( $name, $message, $type, $file, $line ) {
245 241 if ( Visualizer_Plugin::NAME !== $name ) {
246 242 return;
247 243 }
248 244 error_log( sprintf( '%s (%s): %s in %s:%s', $name, $type, $message, $file, $line ) );
249 245 }
246 +
250 247 }