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 -26 3.10.03.2.1 View file →
@@ -49,15 +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 - 'compatibilities',
59 +
60 60 ];
61 61
62 62 /**
63 63 * Initialize the sdk logic.
@@ -75,30 +75,8 @@
75 75 }
76 76 }
77 77
78 78 /**
79 - * Get cache token used in API requests.
80 - *
81 - * @return string Cache token.
82 - */
83 - public static function get_cache_token() {
84 - $cache_token = get_transient( 'themeisle_sdk_cache_token' );
85 - if ( false === $cache_token ) {
86 - $cache_token = wp_generate_password( 6, false );
87 - set_transient( $cache_token, WEEK_IN_SECONDS );
88 - }
89 -
90 - return $cache_token;
91 - }
92 -
93 - /**
94 - * Clear cache token.
95 - */
96 - public static function clear_cache_token() {
97 - delete_transient( 'themeisle_sdk_cache_token' );
98 - }
99 -
100 - /**
101 79 * Register product into SDK.
102 80 *
103 81 * @param string $base_file The product base file.
104 82 *
@@ -105,9 +83,9 @@
105 83 * @return Loader The singleton object.
106 84 */
107 85 public static function add_product( $base_file ) {
108 86
109 - if ( ! is_file( $base_file ) ) {
87 + if ( ! is_readable( $base_file ) ) {
110 88 return self::$instance;
111 89 }
112 90 $product = new Product( $base_file );
113 91