widget_settings(); } protected function get_defaults() { return $this->defaults; } public function widget_settings() { if (!class_exists('ADMINIFY')) { return; } \ADMINIFY::createSection($this->prefix, array( 'title' => __('Widget Settings', WP_ADMINIFY_TD), 'id' => 'widget_settings', 'icon' => 'dashicons dashicons-admin-appearance', )); $this->defaults = array_merge($this->defaults, (new DashboardWidgets())->get_defaults()); $this->defaults = array_merge($this->defaults, (new Sidebar_Remove())->get_defaults()); } }