PluginProbe
Visualizer – Tables & Charts Manager with Built-in AI Generator / 3.4.2
Visualizer – Tables & Charts Manager with Built-in AI Generator v3.4.2
4.0.8 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 All 149 releases
← All changes | vendor/codeinwp/themeisle-sdk/src/Loader.php +4 -29 3.10.103.4.2 View file →
@@ -45,23 +45,19 @@
45 45 *
46 46 * @var array The modules which SDK will be using.
47 47 */
48 48 private static $available_modules = [
49 - 'script_loader',
50 49 'dashboard_widget',
51 50 'rollback',
52 51 'uninstall_feedback',
53 52 'licenser',
53 + 'endpoint',
54 + 'notification',
54 55 'logger',
55 56 'translate',
56 57 'review',
57 58 'recommendation',
58 - 'notification',
59 - 'promotions',
60 - 'welcome',
61 - 'compatibilities',
62 - 'about_us',
63 - 'announcements',
59 +
64 60 ];
65 61
66 62 /**
67 63 * Initialize the sdk logic.
@@ -79,30 +75,8 @@
79 75 }
80 76 }
81 77
82 78 /**
83 - * Get cache token used in API requests.
84 - *
85 - * @return string Cache token.
86 - */
87 - public static function get_cache_token() {
88 - $cache_token = get_transient( 'themeisle_sdk_cache_token' );
89 - if ( false === $cache_token ) {
90 - $cache_token = wp_generate_password( 6, false );
91 - set_transient( $cache_token, WEEK_IN_SECONDS );
92 - }
93 -
94 - return $cache_token;
95 - }
96 -
97 - /**
98 - * Clear cache token.
99 - */
100 - public static function clear_cache_token() {
101 - delete_transient( 'themeisle_sdk_cache_token' );
102 - }
103 -
104 - /**
105 79 * Register product into SDK.
106 80 *
107 81 * @param string $base_file The product base file.
108 82 *
@@ -147,5 +121,6 @@
147 121 */
148 122 public static function get_version() {
149 123 return self::$version;
150 124 }
125 +
151 126 }