id = 'example'; $this->label = 'Example'; parent::__construct(); } protected function get_settings_for_default_section() { return array( 'key' => 'value' ); } protected function get_settings_for_foobar_section() { return array( 'foo' => 'bar' ); } protected function get_settings_for_section( $current_section ) { return array( "${current_section}_key" => "${current_section}_value" ); } protected function get_own_sections() { $sections = parent::get_own_sections(); $sections['new_section'] = 'New Section'; return $sections; } // phpcs:enable Squiz.Commenting.FunctionComment.Missing }