PluginProbe
Visualizer – Tables & Charts Manager with Built-in AI Generator / 3.9.4
Visualizer – Tables & Charts Manager with Built-in AI Generator v3.9.4
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 | classes/Visualizer/Module/Admin.php +15 -0 3.9.33.9.4 View file →
@@ -1173,5 +1173,20 @@
1173 1173 </div>
1174 1174 <?php
1175 1175 }
1176 1176 }
1177 +
1178 + /**
1179 + * Check chart is enabled or not.
1180 + *
1181 + * @param string $type Chart ID.
1182 + *
1183 + * @return bool Default false
1184 + */
1185 + public static function checkChartStatus( $type ) {
1186 + $types = self::_getChartTypesLocalized( false, false, false, true );
1187 + if ( isset( $types[ $type ] ) ) {
1188 + return ! empty( $types[ $type ]['enabled'] );
1189 + }
1190 + return false;
1191 + }
1177 1192 }