public function get_widget_types_config() { $config = []; foreach ($this->get_widget_types() as $widget_key => $widget) { if ('common' === $widget_key) { continue; } $config[$widget_key] = $widget->get_config(); } return $config; }