diff --git a/.gitignore b/.gitignore index 797379f..1fe2920 100644 --- a/.gitignore +++ b/.gitignore @@ -92,3 +92,5 @@ tmp/ !mstile-*.png !safari-pinned-tab.svg !site.webmanifest + +src/includes/settings/class-TEMP-settings-group.php diff --git a/src/includes/settings/class-TEMP-settings-group.php b/src/includes/settings/class-TEMP-settings-group.php deleted file mode 100644 index 95b1379..0000000 --- a/src/includes/settings/class-TEMP-settings-group.php +++ /dev/null @@ -1,64 +0,0 @@ - 'TEMP_SETTING_KEY', - 'name' => 'TEMP_SETTING_LABEL', - 'description' => 'TEMP_SETTING_DESC', - 'default_value' => TEMP_DEFAULT_VALUE, - 'type' => 'integer', - 'input_type' => 'number', - ['input_max' => TEMP_MAX,] - ['input_min' => TEMP_MIN,] - ['enabled_by' => self::TEMP_ENABLED_BY_SETTING_NAME] - ); - - protected function add_settings(array|false $options): void { - $this->settings = array( - self::TEMP_SETTING_NAME['key'] => $this->add_setting(self::TEMP_SETTING_NAME), - ); - - $this->load_values( $options ); - } -}