PluginProbe
Visualizer – Tables & Charts Manager with Built-in AI Generator / 3.2.1
Visualizer – Tables & Charts Manager with Built-in AI Generator v3.2.1
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 -28 3.10.33.2.1 View file →
@@ -49,17 +49,15 @@
49 49 'dashboard_widget',
50 50 'rollback',
51 51 'uninstall_feedback',
52 52 'licenser',
53 + 'endpoint',
54 + 'notification',
53 55 'logger',
54 56 'translate',
55 57 'review',
56 58 'recommendation',
57 - 'notification',
58 - 'promotions',
59 - 'welcome',
60 - 'compatibilities',
61 - 'about_us',
59 +
62 60 ];
63 61
64 62 /**
65 63 * Initialize the sdk logic.
@@ -77,30 +75,8 @@
77 75 }
78 76 }
79 77
80 78 /**
81 - * Get cache token used in API requests.
82 - *
83 - * @return string Cache token.
84 - */
85 - public static function get_cache_token() {
86 - $cache_token = get_transient( 'themeisle_sdk_cache_token' );
87 - if ( false === $cache_token ) {
88 - $cache_token = wp_generate_password( 6, false );
89 - set_transient( $cache_token, WEEK_IN_SECONDS );
90 - }
91 -
92 - return $cache_token;
93 - }
94 -
95 - /**
96 - * Clear cache token.
97 - */
98 - public static function clear_cache_token() {
99 - delete_transient( 'themeisle_sdk_cache_token' );
100 - }
101 -
102 - /**
103 79 * Register product into SDK.
104 80 *
105 81 * @param string $base_file The product base file.
106 82 *
@@ -107,9 +83,9 @@
107 83 * @return Loader The singleton object.
108 84 */
109 85 public static function add_product( $base_file ) {
110 86
111 - if ( ! is_file( $base_file ) ) {
87 + if ( ! is_readable( $base_file ) ) {
112 88 return self::$instance;
113 89 }
114 90 $product = new Product( $base_file );
115 91