PluginProbe
Visualizer – Tables & Charts Manager with Built-in AI Generator / 3.3.2
Visualizer – Tables & Charts Manager with Built-in AI Generator v3.3.2
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/Source/Query/Params.php +1 -4 3.10.33.3.2 View file →
@@ -336,9 +336,9 @@
336 336 *
337 337 * @access public
338 338 * @return array
339 339 */
340 - public static function get_all_db_tables_column_mapping( $chart_id, $use_filter = true ) {
340 + public static function get_all_db_tables_column_mapping() {
341 341 $mapping = array();
342 342 $tables = self::get_db_tables();
343 343 foreach ( $tables as $table ) {
344 344 $cols = self::get_db_table_columns( $table, true );
@@ -343,11 +343,8 @@
343 343 foreach ( $tables as $table ) {
344 344 $cols = self::get_db_table_columns( $table, true );
345 345 $names = wp_list_pluck( $cols, 'name' );
346 346 $mapping[ $table ] = $names;
347 - }
348 - if ( $use_filter ) {
349 - return apply_filters( 'visualizer_db_tables_column_mapping', $mapping, $chart_id );
350 347 }
351 348 return $mapping;
352 349 }
353 350